feat(admin): serve response media from standalone API

This commit is contained in:
jjbrunton committed 2026-08-28 14:54:07 +01:00
1 parent be20391788
commit 2dad7aa352
9 files changed
+128 -31

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import type { ContentReviewStatus } from '@sauci/shared';
import { auditedSupabase } from '@/hooks/useAuditedSupabase';
import { auditedAdminData } from '@/hooks/useAuditedAdminData';
export { CONTENT_STATUS_LABELS } from '@/lib/contentReviewStatus';
export type ReviewableContentTable =
@@ -20,7 +20,7 @@ export async function updateContentReviewStatus(
throw new Error('A review reason is required');
}
const { error } = await auditedSupabase.update(table, id, {
const { error } = await auditedAdminData.update(table, id, {
content_status: status,
content_review_reason: normalizedReason,
});