Skip to content

Commit

Permalink
Update src/libs/Notification/PushNotification/shouldShowPushNotificat…
Browse files Browse the repository at this point in the history
…ion.ts

Co-authored-by: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com>
  • Loading branch information
jp928 and s77rt authored Aug 26, 2024
1 parent 1295e59 commit 1adac8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import parsePushNotificationPayload from './parsePushNotificationPayload';
* Returns whether the given Airship notification should be shown depending on the current state of the app
*/
export default function shouldShowPushNotification(pushPayload: PushPayload): boolean {
Log.info('[PushNotification] push notification resceived', false, {pushPayload});
Log.info('[PushNotification] push notification received', false, {pushPayload});
const data = parsePushNotificationPayload(pushPayload.extras.payload);

if (data?.reportID === undefined) {
Expand Down

0 comments on commit 1adac8c

Please sign in to comment.