Skip to content

Commit

Permalink
Update GroundControlToMajorTom.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosrdz committed Oct 27, 2024
1 parent ab23b49 commit 8c3b6b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/class/GroundControlToMajorTom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class GroundControlToMajorTom {
sound: "default",
},
data: {},
category: "TRANSACTION_CATEGORY",
};

if (pushNotification.os === "android") return GroundControlToMajorTom._pushToFcm(dataSource, serverKey, pushNotification.token, fcmPayload, pushNotification);
Expand Down Expand Up @@ -114,6 +115,7 @@ export class GroundControlToMajorTom {
sound: "default",
},
data: {},
category: "TRANSACTION_CATEGORY",
};

if (pushNotification.os === "android") return GroundControlToMajorTom._pushToFcm(dataSource, serverKey, pushNotification.token, fcmPayload, pushNotification);
Expand Down Expand Up @@ -154,6 +156,7 @@ export class GroundControlToMajorTom {
badge: pushNotification.badge,
tag: pushNotification.txid,
},
category: "TRANSACTION_CATEGORY",
};

const apnsPayload = {
Expand All @@ -166,6 +169,7 @@ export class GroundControlToMajorTom {
sound: "default",
},
data: {},
category: "TRANSACTION_CATEGORY",
};

if (pushNotification.os === "android") return GroundControlToMajorTom._pushToFcm(dataSource, serverKey, pushNotification.token, fcmPayload, pushNotification);
Expand Down

0 comments on commit 8c3b6b6

Please sign in to comment.