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, });