mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-01 11:35:35 +02:00
Add some tests and some fixes
This commit is contained in:
@@ -101,7 +101,7 @@ export const meta = {
|
||||
|
||||
export default async (params: any, user: ILocalUser, app: IApp) => new Promise(async (res, rej) => {
|
||||
const [ps, psErr] = getParams(meta, params);
|
||||
if (psErr) throw psErr;
|
||||
if (psErr) return rej(psErr);
|
||||
|
||||
const isSecure = user != null && app == null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user