kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
MastodonResponse: use .passthrough() on errorSchema
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1801merge-requests/3305/head
rodzic
c737d7cb5c
commit
1926daa3c7
|
@ -81,7 +81,7 @@ export class MastodonResponse extends Response {
|
|||
z.string(),
|
||||
z.object({ error: z.string(), description: z.string() }).array(),
|
||||
).optional(),
|
||||
});
|
||||
}).passthrough();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue