mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
parent
c1f6d996f6
commit
ea7504f564
@ -29,7 +29,7 @@ export const meta = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default define(meta, async (ps, user, token) => {
|
export default define(meta, async (ps, user, token) => {
|
||||||
const isSecure = token == null;
|
const isSecure = user != null && token == null;
|
||||||
|
|
||||||
// Lookup app
|
// Lookup app
|
||||||
const ap = await Apps.findOne(ps.appId);
|
const ap = await Apps.findOne(ps.appId);
|
||||||
|
Loading…
Reference in New Issue
Block a user