Fix bug
This commit is contained in:
@ -25,7 +25,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 notesChart.getChart(ps.span as any, ps.limit);
|
||||
|
||||
|
Reference in New Issue
Block a user