diff --git a/supabase/config.toml b/supabase/config.toml index b3190d03ddf..aff7207cb1c 100644 --- a/supabase/config.toml +++ b/supabase/config.toml @@ -72,6 +72,9 @@ double_confirm_changes = true # If enabled, users need to confirm their email address before signing in. enable_confirmations = false +[remotes.prod.auth.email] +enable_signup = false + # Uncomment the following to use gh oAuth app locally with your own test app # to use env vars locally, run > `source ./supabase/.env && supabase [command...]` # [auth.external.github] diff --git a/supabase/functions/search-embeddings/index.ts b/supabase/functions/search-embeddings/index.ts index 5d1a98adcec..81db34d68fb 100644 --- a/supabase/functions/search-embeddings/index.ts +++ b/supabase/functions/search-embeddings/index.ts @@ -1,7 +1,7 @@ import 'https://deno.land/x/xhr@0.2.1/mod.ts' import { createClient } from 'jsr:@supabase/supabase-js@2' import { Configuration, OpenAIApi } from 'https://esm.sh/openai@3.1.0' -import { Database } from '../common/database-types.ts' +import { Database } from '../../../packages/common/database-types.ts' import { ApplicationError, UserError } from '../common/errors.ts' const openAiKey = Deno.env.get('OPENAI_API_KEY')