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