feat: improve api key endpoints, add users endpoint
This commit is contained in:
1 parent
d9c34f67e6
commit
084c91f6c1
11 files changed
+228
-7
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user