Fix test parameter mismatches

Correct parameter names in integration tests to resolve TypeScript errors. The errors indicate a mismatch between expected and actual parameter names (`p_user_id` vs `_user_id`) in Supabase-generated types, which are now being aligned.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-07 01:13:55 +00:00
parent e747e1f881
commit 03aab90c90
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ export const edgeFunctionTestSuite: TestSuite = {
// Call the ban check function
const { data: isBanned, error: banError } = await supabase
.rpc('is_user_banned', {
_user_id: userData.user.id
p_user_id: userData.user.id
});
if (banError) throw new Error(`Ban check failed: ${banError.message}`);