Skip to content

Commit 89c0a4c

Browse files
committed
updated code for cron error
1 parent 99ba83a commit 89c0a4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/presence-cron.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
fi
2121
curl -sS -X POST "$VITE_SUPABASE_URL/functions/v1/presence-cron" \
2222
-H "apikey: $VITE_SUPABASE_ANON_KEY" \
23+
-H "Authorization: Bearer $VITE_SUPABASE_ANON_KEY" \
2324
-H "Content-Type: application/json" \
2425
-d '{}' \
2526
-o /tmp/resp.json -w "HTTP:%{http_code}\n" | tee /tmp/status.txt

0 commit comments

Comments
 (0)