From 08c7e52596655548b59d54d3a6858459457bfa26 Mon Sep 17 00:00:00 2001 From: April John Date: Mon, 4 Sep 2023 18:47:37 +0200 Subject: [PATCH] aaaa --- packages/backend/src/server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/index.ts b/packages/backend/src/server/index.ts index 8dc18f499..0dbe95cd4 100644 --- a/packages/backend/src/server/index.ts +++ b/packages/backend/src/server/index.ts @@ -165,7 +165,7 @@ mastoRouter.get("/nodeinfo/2.0.json", async (ctx) => { ctx.body = { version: "2.0", //...base }; - ...nodeinfo2() }; + ...(await nodeinfo2()) }; //ctx.set("Cache-Control", "public, max-age=600"); });