pl-api: workaround for an iceshrimp.net bug
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user