diff --git a/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts b/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts index af3cefb30..f107c14d8 100644 --- a/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts +++ b/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts @@ -46,10 +46,9 @@ export class MastodonApiServerService { }); fastify.addContentTypeParser(['application/x-www-form-urlencoded'], { parseAs: 'string' }, (req, body, done) => { - const dataObj = {}; + const dataObj: any = {}; const parsedData = new URLSearchParams(body as string); for (let pair of parsedData.entries()) { - //@ts-expect-error dataObj[pair[0]] = pair[1]; } done(null, dataObj);