From 706a7dc06faa6cd4d9c87b1bea156a5380bcead2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sun, 18 Jan 2026 20:40:53 +0100 Subject: [PATCH] pl-api: workaround for an iceshrimp.net bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-api/lib/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-api/lib/client.ts b/packages/pl-api/lib/client.ts index 0055257c5..4f4982490 100644 --- a/packages/pl-api/lib/client.ts +++ b/packages/pl-api/lib/client.ts @@ -1371,7 +1371,7 @@ class PlApiClient { const response = await this.request('/api/v1/accounts/update_credentials', { method: 'PATCH', - contentType: (this.features.version.software === GOTOSOCIAL || params.avatar || params.header) ? '' : undefined, + contentType: '', body: params, });