From ea7504f564793ffc5a8c9b7be9ba074a89da9e9a Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Mon, 28 Sep 2020 21:27:05 +0900 Subject: [PATCH] =?UTF-8?q?=E5=8C=BF=E5=90=8D=E3=83=A6=E3=83=BC=E3=82=B6?= =?UTF-8?q?=E3=83=BC=E3=81=A7app/show=E3=82=92=E3=83=AA=E3=82=AF=E3=82=A8?= =?UTF-8?q?=E3=82=B9=E3=83=88=E3=81=99=E3=82=8B=E3=81=A8500=E3=82=92?= =?UTF-8?q?=E8=BF=94=E3=81=99=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3=20Fix=20?= =?UTF-8?q?#6715=20(#6716)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/app/show.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/app/show.ts b/src/server/api/endpoints/app/show.ts index e3f3a1eaa..ca4f3549f 100644 --- a/src/server/api/endpoints/app/show.ts +++ b/src/server/api/endpoints/app/show.ts @@ -29,7 +29,7 @@ export const meta = { }; export default define(meta, async (ps, user, token) => { - const isSecure = token == null; + const isSecure = user != null && token == null; // Lookup app const ap = await Apps.findOne(ps.appId);