From a401aee21396acdf72e2cf65978e788da02eb71f Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Tue, 3 Feb 2026 15:59:46 +0100 Subject: [PATCH] fix: Update Freesound config schema to exclude userId from body --- shared/schema.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/schema.ts b/shared/schema.ts index 4ecfeec..5c37ad5 100644 --- a/shared/schema.ts +++ b/shared/schema.ts @@ -441,7 +441,9 @@ export const insertFreesoundConfigSchema = createInsertSchema(freesoundConfig).o updatedAt: true, }); -export const updateFreesoundConfigSchema = insertFreesoundConfigSchema.partial({ +export const updateFreesoundConfigSchema = insertFreesoundConfigSchema.omit({ + userId: true +}).partial({ clientId: true, clientSecret: true, });