fix: deleting a list returning an error as success
This commit is contained in:
parent
46bb5f2dac
commit
4fa15f27c7
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ export class ApiTimelineMastodon {
|
||||||
const client = getClient(BASE_URL, accessTokens);
|
const client = getClient(BASE_URL, accessTokens);
|
||||||
const params: any = _request.params;
|
const params: any = _request.params;
|
||||||
const data = await client.deleteList(params.id);
|
const data = await client.deleteList(params.id);
|
||||||
reply.send(data.data);
|
reply.send({});
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
console.error(e.response.data);
|
console.error(e.response.data);
|
||||||
|
|
Loading…
Reference in a new issue