Skip to content

Commit 70b856c

Browse files
committed
add supabase url
1 parent 0c6e059 commit 70b856c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/hook.sh"
33

4-
deno fmt --check supabase/*
4+
deno fmt supabase/*
55
deno lint supabase/*

supabase/functions/fetch-scrobbles/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Sentry.init({
1414
// Set region and execution_id as custom tags
1515
Sentry.setTag("region", Deno.env.get("SB_REGION"));
1616
Sentry.setTag("execution_id", Deno.env.get("SB_EXECUTION_ID"));
17+
Sentry.setTag("url", env.SUPABASE_URL);
1718

1819
Deno.serve(async () => {
1920
try {

0 commit comments

Comments
 (0)