Compare commits

...

4 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
7b93df8dfa Add small doc comment
Enhance a brief JSDoc in src/lib/utils.ts to verify minimal code change workflow with a harmless documentation update.

X-Lovable-Edit-ID: edt-5d4e06f4-a087-42e0-80bb-a43139fa066b
2025-11-12 15:24:07 +00:00
gpt-engineer-app[bot]
87841dbacd testing changes with virtual file cleanup 2025-11-12 15:24:06 +00:00
gpt-engineer-app[bot]
68384156ab Fix selective-approval RPC params
Update edge function to call process_approval_transaction with correct parameters:
- remove p_trace_id and p_parent_span_id
- add p_approval_mode: 'selective' and p_idempotency_key: idempotencyKey
This aligns with database function signature and resolves 500 error.

X-Lovable-Edit-ID: edt-6e45b77e-1d54-4173-af1a-dcbcd886645d
2025-11-12 15:12:31 +00:00
gpt-engineer-app[bot]
5cc5d3eab6 testing changes with virtual file cleanup 2025-11-12 15:12:30 +00:00
2 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import { twMerge } from "tailwind-merge";
*
* @param inputs - Class values to combine (strings, objects, arrays)
* @returns Merged class string with Tailwind conflicts resolved
* @example cn('px-2 py-1', 'px-4') // Returns 'py-1 px-4'
*/
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));

View File

@@ -207,8 +207,8 @@ const handler = async (req: Request, context: { supabase: any; user: any; span:
p_moderator_id: user.id,
p_submitter_id: submission.user_id,
p_request_id: requestId,
p_trace_id: rootSpan.traceId,
p_parent_span_id: rpcSpan.spanId
p_approval_mode: 'selective',
p_idempotency_key: idempotencyKey
}
);