feat: improve api key endpoints, add users endpoint

This commit is contained in:
Agusti Fernandez Pardo committed 2022-03-25 23:26:22 +01:00
1 parent d9c34f67e6
commit 084c91f6c1
11 files changed
+228 -7

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ const schemaQueryId = z
.object({
// since nextjs parses query params as strings,
// we need to cast them to numbers using z.transform() and parseInt()
id: z.string().uuid()
id: z.string()
})
.strict();