From 73ad1f1a316a3011a68a09e4a69ace5a2a48e709 Mon Sep 17 00:00:00 2001 From: cutestnekoaqua Date: Sat, 11 Feb 2023 00:15:36 +0100 Subject: [PATCH] Revert "meow?" This reverts commit 6e79148152cfa3cd3757b1545af6db804f4aa166. --- packages/backend/src/server/api/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/src/server/api/index.ts b/packages/backend/src/server/api/index.ts index bfbc6a3fe..ddcb9a884 100644 --- a/packages/backend/src/server/api/index.ts +++ b/packages/backend/src/server/api/index.ts @@ -6,8 +6,7 @@ import Koa from "koa"; import Router from "@koa/router"; import multer from "@koa/multer"; import bodyParser from "koa-bodyparser"; -// @ts-ignore -import formidable from 'koa2-formidable' +const formidable = require('koa2-formidable') import cors from "@koa/cors"; import { apiMastodonCompatible } from './mastodon/ApiMastodonCompatibleService.js'; import { Instances, AccessTokens, Users } from "@/models/index.js";