Resolve #6137
This commit is contained in:
parent
c7c537c8b8
commit
1947835c51
16 changed files with 167 additions and 64 deletions
|
@ -27,6 +27,11 @@ export const meta = {
|
|||
}
|
||||
},
|
||||
|
||||
offset: {
|
||||
validator: $.optional.num,
|
||||
default: 0,
|
||||
},
|
||||
|
||||
userId: {
|
||||
validator: $.type(ID),
|
||||
desc: {
|
||||
|
@ -40,5 +45,5 @@ export const meta = {
|
|||
};
|
||||
|
||||
export default define(meta, async (ps) => {
|
||||
return await perUserNotesChart.getChart(ps.span as any, ps.limit!, ps.userId);
|
||||
return await perUserNotesChart.getChart(ps.span as any, ps.limit!, ps.offset!, ps.userId);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue