Enable attachment backup uploading

This commit is contained in:
trevor-signal
2024-05-29 19:46:43 -04:00
committed by GitHub
parent 94a262b799
commit 4254356812
27 changed files with 2054 additions and 534 deletions

View File

@@ -1062,6 +1062,10 @@ export const backupMediaBatchResponseSchema = z.object({
cdn: z.number(),
mediaId: z.string(),
})
.transform(response => ({
...response,
isSuccess: isSuccess(response.status),
}))
.array(),
});