From ad1d3ccb7555296bd5d55bb8f33d2f43c5c91bde Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sun, 24 Sep 2023 22:53:34 +0200 Subject: [PATCH] chore: change ignore to expect --- .../backend/src/server/api/mastodon/MastodonApiServerService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts b/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts index 6c1ba6e53..793eb30c8 100644 --- a/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts +++ b/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts @@ -49,7 +49,7 @@ export class MastodonApiServerService { const dataObj = {}; const parsedData = new URLSearchParams(body as string); for (var pair of parsedData.entries()) { - //@ts-ignore + //@ts-expect-error dataObj[pair[0]] = pair[1]; } done(null, dataObj)