fix: userId not, id remove templates stall
This commit is contained in:
1 parent
d675535cdf
commit
04b9b71310
17 files changed
+17
-403
No files matched your search
@@ -13,3 +13,8 @@ export const schemaQueryUserId = baseApiParams
|
||||
.transform((id) => parseInt(id)),
|
||||
})
|
||||
.strict();
|
||||
export const withValidQueryUserId = withValidation({
|
||||
schema: schemaQueryUserId,
|
||||
type: "Zod",
|
||||
mode: "query",
|
||||
});
|
||||
Reference in new issue
Block a user