diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-28 19:52:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-28 19:52:41 +0900 |
| commit | f014a79f8dbb101a80d638d025a27bbb5ea02575 (patch) | |
| tree | cc8af5c152e6470cddf1f34d083e2e0e222e7610 /src/server/api/endpoints/app/show.ts | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.27.0 (diff) | |
| download | misskey-f014a79f8dbb101a80d638d025a27bbb5ea02575.tar.gz misskey-f014a79f8dbb101a80d638d025a27bbb5ea02575.tar.bz2 misskey-f014a79f8dbb101a80d638d025a27bbb5ea02575.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/server/api/endpoints/app/show.ts')
| -rw-r--r-- | src/server/api/endpoints/app/show.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/endpoints/app/show.ts b/src/server/api/endpoints/app/show.ts index 2c8cdbe396..e3f3a1eaa4 100644 --- a/src/server/api/endpoints/app/show.ts +++ b/src/server/api/endpoints/app/show.ts @@ -28,8 +28,8 @@ export const meta = { } }; -export default define(meta, async (ps, user, app) => { - const isSecure = user != null && app == null; +export default define(meta, async (ps, user, token) => { + const isSecure = token == null; // Lookup app const ap = await Apps.findOne(ps.appId); |