From 4fa15f27c717f2aba27a8c38cb1ca18629cdd20d Mon Sep 17 00:00:00 2001
From: Mar0xy <marie@kaifa.ch>
Date: Mon, 30 Oct 2023 13:00:58 +0100
Subject: [PATCH] fix: deleting a list returning an error as success

---
 packages/backend/src/server/api/mastodon/endpoints/timeline.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/backend/src/server/api/mastodon/endpoints/timeline.ts b/packages/backend/src/server/api/mastodon/endpoints/timeline.ts
index 0f2b208153..f81b63b9ac 100644
--- a/packages/backend/src/server/api/mastodon/endpoints/timeline.ts
+++ b/packages/backend/src/server/api/mastodon/endpoints/timeline.ts
@@ -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);