mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-12 01:36:54 +02:00
fix: Update Freesound config schema to exclude userId from body
This commit is contained in:
1 parent
2129b3055a
commit
a401aee213
1 file changed
+3
-1
+3
-1
@@ -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,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user