diff --git a/packages/pl-api/lib/client.ts b/packages/pl-api/lib/client.ts index 44c1ec0dc..8ef031a25 100644 --- a/packages/pl-api/lib/client.ts +++ b/packages/pl-api/lib/client.ts @@ -1376,7 +1376,7 @@ class PlApiClient { const response = await this.request('/api/v1/accounts/update_credentials', { method: 'PATCH', - contentType: '', + contentType: (this.features.version.software === GOTOSOCIAL || this.features.version.software === ICESHRIMP_NET || params.avatar || params.header) ? '' : undefined, body: params, });