mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-22 07:02:27 -04:00
Add percent in movie's watchlist
This commit is contained in:
@@ -250,7 +250,10 @@ export async function getShows({
|
||||
.as("t");
|
||||
|
||||
const watchStatusQ = db
|
||||
.select()
|
||||
.select({
|
||||
...getColumns(watchlist),
|
||||
percent: watchlist.seenCount,
|
||||
})
|
||||
.from(watchlist)
|
||||
.where(eq(watchlist.profilePk, userId))
|
||||
.as("watchstatus");
|
||||
|
||||
Reference in New Issue
Block a user