feat: Implement authentication integration

This commit is contained in:
gpt-engineer-app[bot]
2025-09-30 13:51:59 +00:00
parent 083a4af08c
commit f7ce456cc0
3 changed files with 30 additions and 4 deletions

View File

@@ -445,7 +445,6 @@ export const ModerationQueue = forwardRef<ModerationQueueRef>((props, ref) => {
}
// STEP 4: Update submission status
const { data: { user } } = await supabase.auth.getUser();
const { error: updateError } = await supabase
.from('content_submissions')
.update({
@@ -482,7 +481,6 @@ export const ModerationQueue = forwardRef<ModerationQueueRef>((props, ref) => {
};
// Get current user ID for reviewer tracking
const { data: { user } } = await supabase.auth.getUser();
if (user) {
updateData[reviewerField] = user.id;
}