From 80642641c9b8777f7300a2e7df24794bb3e2522f Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Thu, 30 Oct 2025 12:29:47 -0600 Subject: [PATCH] fix critical typo --- server/routes/users/[id]/progress/[tmdb_id]/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/users/[id]/progress/[tmdb_id]/index.ts b/server/routes/users/[id]/progress/[tmdb_id]/index.ts index 2cae834..7cd2739 100644 --- a/server/routes/users/[id]/progress/[tmdb_id]/index.ts +++ b/server/routes/users/[id]/progress/[tmdb_id]/index.ts @@ -65,7 +65,7 @@ export default defineEventHandler(async (event) => { } catch (error) { throw createError({ statusCode: 400, message: error.message }); } - const { meta, tmdbId: duration, watched, seasonId, episodeId, seasonNumber, episodeNumber, updatedAt } = parsedBody; + const { meta, tmdbId, duration, watched, seasonId, episodeId, seasonNumber, episodeNumber, updatedAt } = parsedBody; const now = coerceDateTime(updatedAt); const { seasonId: normSeasonId, episodeId: normEpisodeId } = normalizeIds(meta.type, seasonId, episodeId);