Fix: Resolve remaining TypeScript errors

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 02:54:43 +00:00
parent 07420a67bf
commit 516f7c4c41
14 changed files with 49 additions and 49 deletions

View File

@@ -110,7 +110,7 @@ async function logRequestMetadata(metadata: RequestMetadata): Promise<void> {
// Safe cast - RPC function exists in database
const { error } = await supabase.rpc('log_request_metadata' as 'log_request_metadata', {
p_request_id: metadata.requestId,
p_user_id: metadata.userId || null,
p_user_id: metadata.userId ?? undefined,
p_endpoint: metadata.endpoint,
p_method: metadata.method,
p_status_code: metadata.statusCode,