Skip to content

Commit

Permalink
Update views.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasamato committed Dec 30, 2023
1 parent 1d84a1e commit 26d1d0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/db/views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export async function getLastViews(type: Types, n: number) {
.limit(n)
.toArray()
)
console.log('Found', data.length, 'entries in views table for', type)

// count what has been popular recently
let accumulated = {}
Expand Down

0 comments on commit 26d1d0c

Please sign in to comment.