pl-api: ok, this seems to work but why

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-04-17 17:42:24 +02:00
parent 519562c5c1
commit 495076e026

View File

@ -865,7 +865,7 @@ class PlApiClient {
let response;
switch (this.features.version.software) {
case ICESHRIMP_NET:
response = await this.request(`/api/v1/users/${accountId}/bite`, { method: 'POST' });
response = await this.request('/api/v1/bite', { method: 'POST', body: accountId });
break;
default:
response = await this.request('/api/v1/bite', { method: 'POST', params: { id: accountId } });