Skip to content

Commit

Permalink
[fix] change case identifier variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronniebeggs committed Jun 6, 2024
1 parent 9965251 commit ce8cb83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supabase/functions/push/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
Deno.serve(async req => {
// fetch the notifcation request from the supabase edge function
const { update, expoPushToken, category, updateId, caseUUID } =
const { update, expoPushToken, category, updateId, caseId } =
await req.json();

const res = await fetch('https://exp.host/--/api/v2/push/send', {
Expand All @@ -23,7 +23,7 @@ Deno.serve(async req => {
sound: 'default',
title: category,
body: update,
data: { updateId: updateId, caseId: caseUUID },
data: { updateId: updateId, caseId: caseId },
}),
}).then(res => res.json());

Expand Down

0 comments on commit ce8cb83

Please sign in to comment.