Change failure behaviour

This commit is contained in:
rubikscraft
2022-07-04 17:11:42 +02:00
parent ba47d0bff4
commit c8722d8944
30 changed files with 320 additions and 174 deletions

View File

@@ -17,6 +17,7 @@ const ApiErrorResponse = ApiResponseBase.merge(
z.object({
success: z.literal(false),
data: z.object({
type: z.string(),
message: z.string(),
}),
}),