diff --git a/src/components/compose.jsx b/src/components/compose.jsx index b926f79a..0f93a283 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -988,7 +988,11 @@ function Compose({ } else { try { newStatus = await masto.v1.statuses.create(params, { - idempotencyKey: UID.current, + requestInit: { + headers: { + 'Idempotency-Key': UID.current, + }, + }, }); } catch (_) { // If idempotency key fails, try again without it