From a54eb31e8183cdacb21c5841dbc4808be744ed4e Mon Sep 17 00:00:00 2001 From: Aulianyb <18221066@std.stei.itb.ac.id> Date: Tue, 21 Nov 2023 11:12:12 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20FIX=20:=20supabase=20url=20and?= =?UTF-8?q?=20anon=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/authController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/authController.ts b/src/controllers/authController.ts index 014086e..cb24663 100644 --- a/src/controllers/authController.ts +++ b/src/controllers/authController.ts @@ -3,7 +3,7 @@ import { PrismaClient } from '@prisma/client' import { createClient } from '@supabase/supabase-js' const route = express.Router(); const prisma = new PrismaClient() -const supabase = createClient('your-supabase-url', 'your-public-anon-key') +const supabase = createClient('https://wmopxlxfpunewsedxrng.supabase.co', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Indtb3B4bHhmcHVuZXdzZWR4cm5nIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTgyMTYxNjgsImV4cCI6MjAxMzc5MjE2OH0.UU_sOfqozmDEDX9iH9zAfxrvddTy8JykuGpP5hNHSWk') route.post('/login', async (req, res)=>{ // const { username, password } = req.body -- GitLab