mirror of
https://github.com/p-stream/backend.git
synced 2026-04-21 00:22:37 +00:00
fix critical typo
This commit is contained in:
parent
441895b26f
commit
80642641c9
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ export default defineEventHandler(async (event) => {
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw createError({ statusCode: 400, message: error.message });
|
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 now = coerceDateTime(updatedAt);
|
||||||
const { seasonId: normSeasonId, episodeId: normEpisodeId } = normalizeIds(meta.type, seasonId, episodeId);
|
const { seasonId: normSeasonId, episodeId: normEpisodeId } = normalizeIds(meta.type, seasonId, episodeId);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue