Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
laktek committed Dec 24, 2024
1 parent 614b461 commit 1771afd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/functions-deploy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ func deploy(ctx context.Context, fsys fs.FS) error {
Entrypoint: "supabase/functions/my-slug/index.ts",
ImportMap: "supabase/functions/import_map.json",
}}
return functionClient.UpsertFunctions(ctx, fc, "")
envFilePath := ""
return functionClient.UpsertFunctions(ctx, fc, envFilePath)
}

func newAPIClient(token string) api.ClientWithResponses {
Expand Down

0 comments on commit 1771afd

Please sign in to comment.