mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-17 00:30:37 +01:00
Change failure behaviour
This commit is contained in:
@@ -17,6 +17,7 @@ const ApiErrorResponse = ApiResponseBase.merge(
|
||||
z.object({
|
||||
success: z.literal(false),
|
||||
data: z.object({
|
||||
type: z.string(),
|
||||
message: z.string(),
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user