From 34de28cddf02eb6bac46bc75bae66ceb38c1c090 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 bfbc6a3fef..ddcb9a8842 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";