Fix watchlisted shows not appearing in Continue Watching after logging episodes

When a show had status "watchlist", logging episode watches did not
transition it to "in_progress", so it never appeared in the Continue
Watching feed which filters for in_progress titles only.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 20:27:29 -05:00
co-authored by Claude Opus 4.6
parent 70a2a9f28d
commit 926ddfef34
+2 -2
View File
@@ -100,7 +100,7 @@ export function logEpisodeWatch(
)
.get();
if (!existing) {
if (!existing || existing.status === "watchlist") {
setTitleStatus(userId, titleId, "in_progress", source);
}
@@ -155,7 +155,7 @@ export function logEpisodeWatchBatch(
)
.get();
if (!existing) {
if (!existing || existing.status === "watchlist") {
const statusNow = new Date();
tx.insert(userTitleStatus)
.values({