diff --git a/nfoguard-web/api/web_routes.py b/nfoguard-web/api/web_routes.py index 8848839..36eae74 100644 --- a/nfoguard-web/api/web_routes.py +++ b/nfoguard-web/api/web_routes.py @@ -1069,14 +1069,14 @@ def register_web_routes(app, dependencies): dateadded: str = None, source: str = "manual"): return await update_episode_date(dependencies, imdb_id, season, episode, dateadded, source) - @app.get("/api/episodes/{imdb_id}/{season}/{episode}/date-options") - async def api_episode_date_options(imdb_id: str, season: int, episode: int): - return await get_episode_date_options(dependencies, imdb_id, season, episode) - @app.delete("/api/episodes/{imdb_id}/{season}/{episode}") async def api_delete_episode(imdb_id: str, season: int, episode: int): return await delete_episode(dependencies, imdb_id, season, episode) + @app.get("/api/episodes/{imdb_id}/{season}/{episode}/date-options") + async def api_episode_date_options(imdb_id: str, season: int, episode: int): + return await get_episode_date_options(dependencies, imdb_id, season, episode) + # Movie deletion endpoint @app.delete("/api/movies/{imdb_id}") async def api_delete_movie(imdb_id: str): diff --git a/nfoguard-web/static/index.html b/nfoguard-web/static/index.html index 1354015..2b1112f 100644 --- a/nfoguard-web/static/index.html +++ b/nfoguard-web/static/index.html @@ -457,6 +457,6 @@
- +