forked from FoundKeyGang/FoundKey
Fix users/list/update API (#2590)
This commit is contained in:
parent
c0ee134f19
commit
3136c714bf
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export const meta = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export default async (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
export default (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||||
const [ps, psErr] = getParams(meta, params);
|
const [ps, psErr] = getParams(meta, params);
|
||||||
if (psErr) throw psErr;
|
if (psErr) throw psErr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue