mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-21 22:18:12 +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,
|
updatedAt: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
export const updateFreesoundConfigSchema = insertFreesoundConfigSchema.partial({
|
export const updateFreesoundConfigSchema = insertFreesoundConfigSchema.omit({
|
||||||
|
userId: true
|
||||||
|
}).partial({
|
||||||
clientId: true,
|
clientId: true,
|
||||||
clientSecret: true,
|
clientSecret: true,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user