From 2e63e9c5d53960e4cfbb31a35443c0a81679d6a0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Nov 2021 03:41:21 +0530 Subject: [PATCH] Oops --- src/store/watched-videos-db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/watched-videos-db.js b/src/store/watched-videos-db.js index f14c571..696cb97 100644 --- a/src/store/watched-videos-db.js +++ b/src/store/watched-videos-db.js @@ -20,7 +20,7 @@ export async function isVideoWatched (videoId) { } export async function getWatchedVideos () { - return PMDB.watchedVideos.orderBy('timestamp').reversed().toArray() + return PMDB.watchedVideos.orderBy('timestamp').reverse().toArray() } export async function deleteWatchedVideos () {