fix: Update Freesound config schema to exclude userId from body

This commit is contained in:
Michael committed 2026-02-03 15:59:46 +01:00
1 parent 2129b3055a
commit a401aee213
1 file changed
+3 -1
+3 -1
View File
@@ -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,
});