fix: deleting a list returning an error as success

This commit is contained in:
Mar0xy 2023-10-30 13:00:58 +01:00
parent 46bb5f2dac
commit 4fa15f27c7
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 1 additions and 1 deletions

View File

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