pl-api: fix regression, make the code more terrible than before

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-25 14:10:36 +01:00
parent 82fca6ee13
commit 545040e94b

View File

@ -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,
});