feat(release): prepare 1.1.0 candidate
This commit is contained in:
parent
5a34f66981
commit
5205dcdfa9
736 changed files with 115667 additions and 12203 deletions
|
|
@ -1,7 +1,6 @@
|
|||
// server/supabase/functions/_shared/auth.ts
|
||||
// JWT 검증 + 인증된 유저 반환
|
||||
|
||||
// @ts-expect-error — Deno 런타임 import (타입 보강은 deno.json 또는 skipLibCheck)
|
||||
import { createClient, type User } from 'https://esm.sh/@supabase/supabase-js@2.39.7'
|
||||
|
||||
export interface AuthError {
|
||||
|
|
@ -27,9 +26,7 @@ export async function requireUser(req: Request): Promise<User> {
|
|||
throw { status: 401, message: 'Missing Authorization header' } as AuthError
|
||||
}
|
||||
|
||||
// @ts-expect-error — Deno.env는 Deno 런타임 전역
|
||||
const supabaseUrl = Deno.env.get('SUPABASE_URL') ?? ''
|
||||
// @ts-expect-error — Deno.env는 Deno 런타임 전역
|
||||
const supabaseAnonKey = Deno.env.get('SUPABASE_ANON_KEY') ?? ''
|
||||
|
||||
const supabase = createClient(supabaseUrl, supabaseAnonKey, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue