pl-api: workaround for an iceshrimp.net bug

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-18 20:40:53 +01:00
parent e10b3a508f
commit 706a7dc06f

View File

@ -1371,7 +1371,7 @@ class PlApiClient {
const response = await this.request('/api/v1/accounts/update_credentials', { const response = await this.request('/api/v1/accounts/update_credentials', {
method: 'PATCH', method: 'PATCH',
contentType: (this.features.version.software === GOTOSOCIAL || params.avatar || params.header) ? '' : undefined, contentType: '',
body: params, body: params,
}); });