Skip to content

Commit

Permalink
fix: ignore build error
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfengyu committed Jun 18, 2020
1 parent 1922ecc commit 9d6ace2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ router.get('/account/list', isLoggedIn, async (ctx) => {
let limit = Math.min(ctx.query.limit ?? 10, 100)
let pagination = new Pagination(total, ctx.query.cursor || 1, limit)
ctx.body = {
//@ts-ignore
data: await User.findAll(Object.assign(options, {
attributes: ['id', 'fullname', 'email'],
offset: pagination.start,
Expand Down

0 comments on commit 9d6ace2

Please sign in to comment.