fix: userId not, id remove templates stall

This commit is contained in:
Agusti Fernandez Pardo committed 2022-06-24 00:09:23 +02:00
1 parent d675535cdf
commit 04b9b71310
17 files changed
+17 -403

No files matched your search

+5
View File
@@ -13,3 +13,8 @@ export const schemaQueryUserId = baseApiParams
.transform((id) => parseInt(id)),
})
.strict();
export const withValidQueryUserId = withValidation({
schema: schemaQueryUserId,
type: "Zod",
mode: "query",
});