Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Send FCM token in reports
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 8639861 commit aa3d74c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/api/reports/[id]/action.ts
Expand Up @@ -59,6 +59,7 @@ export async function onRequestPost(context: RequestContext) {
context.env,
"Report Processed",
`Your report for ${reportData.target_usernames.toString()} has been reviewed.`,
reportData.fcm_token,
);

delete reportData.fcm_token;
Expand Down

0 comments on commit aa3d74c

Please sign in to comment.