mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
Moved /api/episodes to /api/episode to align with other endpoints
This commit is contained in:
@@ -18,7 +18,7 @@ namespace NzbDrone.Api.Episodes
|
||||
private readonly IEpisodeService _episodeService;
|
||||
|
||||
public EpisodeModule(ICommandExecutor commandExecutor, IEpisodeService episodeService)
|
||||
: base(commandExecutor, "episodes")
|
||||
: base(commandExecutor)
|
||||
{
|
||||
_episodeService = episodeService;
|
||||
|
||||
|
@@ -5,7 +5,7 @@ define(
|
||||
'Series/EpisodeModel'
|
||||
], function (Backbone, EpisodeModel) {
|
||||
return Backbone.Collection.extend({
|
||||
url : window.NzbDrone.ApiRoot + '/episodes',
|
||||
url : window.NzbDrone.ApiRoot + '/episode',
|
||||
model: EpisodeModel,
|
||||
|
||||
state: {
|
||||
|
@@ -11,7 +11,7 @@ define(
|
||||
},
|
||||
|
||||
methodUrls: {
|
||||
'update': window.NzbDrone.ApiRoot + '/episodes'
|
||||
'update': window.NzbDrone.ApiRoot + '/episode'
|
||||
},
|
||||
|
||||
sync: function(method, model, options) {
|
||||
|
Reference in New Issue
Block a user