Skip to content

Commit 5ff987f

Browse files
fixed workflow perstistance
1 parent 2655267 commit 5ff987f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ yarn-error.log*
4040

4141
# local env files
4242
.env*.local
43+
.env.local
4344

4445
# vercel
4546
.vercel
@@ -53,4 +54,4 @@ gcp.json
5354

5455
supabase
5556

56-
.env
57+
.env

lib/workflow-persistence.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ export class WorkflowPersistence {
126126
private supabase: ReturnType<typeof createClient<Database>>
127127

128128
constructor() {
129-
const supabaseUrl = process.env.SUPABASE_URL
130-
const supabaseServiceKey = process.env.SUPABASE_SERVICE_ROLE_KEY
129+
const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL
130+
const supabaseServiceKey = process.env.NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY
131131

132132
if (!supabaseUrl || !supabaseServiceKey) {
133133
throw new Error('Supabase URL and service key are required.')

0 commit comments

Comments
 (0)