@telecrypt-io/storage 0.5.19 → 0.5.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/operations.js +1 -1
- package/package.json +1 -1
package/dist/core/operations.js
CHANGED
|
@@ -1256,7 +1256,7 @@ async function deleteFileMedia(storage, mediaIds, signal) {
|
|
|
1256
1256
|
const client = storage.getClient();
|
|
1257
1257
|
const http = requireFileDeletionTransport(client);
|
|
1258
1258
|
try {
|
|
1259
|
-
await withRateLimitRetry(() => withMatrixMutationAbort(client, () => http.authedRequest(Method.Post, "/io.telecrypt.storage/delete_media", undefined, { media_ids: [...mediaIds] }, { prefix: ClientPrefix.Unstable, abortSignal: signal }), signal, "delete file media"), signal);
|
|
1259
|
+
await withRateLimitRetry(() => withMatrixMutationAbort(client, () => http.authedRequest(Method.Post, "/io.telecrypt.storage/delete_media", undefined, { media_ids: [...mediaIds] }, { prefix: ClientPrefix.Unstable, json: false, abortSignal: signal }), signal, "delete file media"), signal);
|
|
1260
1260
|
}
|
|
1261
1261
|
catch (error) {
|
|
1262
1262
|
if (error instanceof MutationOutcomeUnknownError)
|