Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Commit

Permalink
fix: update api
Browse files Browse the repository at this point in the history
  • Loading branch information
gtokman committed Apr 12, 2024
1 parent ce6fceb commit cc028f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Push.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ extension Push {
}
}
if let emitter = shared.emitter {
emitter.sendEvent(withName: NotificationType.notificationReceived.rawValue, body: ["payload": payload, "uuid": uuid, "kind": "background"])
emitter.sendEvent(withName: NotificationType.notificationReceived.rawValue, body: ["payload": payload["payload"], "uuid": uuid, "kind": "background"])
} else {
shared.logger?.track(event: "Fatal: Emitter not found. \(#function)")
}
Expand Down

0 comments on commit cc028f4

Please sign in to comment.