Fix bug
This commit is contained in:
parent
f00489196d
commit
5b1cd3bd3c
18 changed files with 18 additions and 18 deletions
|
@ -33,7 +33,7 @@ export const meta = {
|
|||
|
||||
export default (params: any) => new Promise(async (res, rej) => {
|
||||
const [ps, psErr] = getParams(meta, params);
|
||||
if (psErr) throw psErr;
|
||||
if (psErr) return rej(psErr);
|
||||
|
||||
const stats = await perUserNotesChart.getChart(ps.span as any, ps.limit, ps.userId);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue