mirror of https://github.com/Radarr/Radarr
14 lines
399 B
JavaScript
14 lines
399 B
JavaScript
"use strict";
|
|
define(['app', 'Release/Model'], function () {
|
|
NzbDrone.Release.Collection = Backbone.PageableCollection.extend({
|
|
url : NzbDrone.Constants.ApiRoot + '/release',
|
|
model: NzbDrone.Release.Model,
|
|
|
|
mode: 'client',
|
|
|
|
fetchEpisodeReleases: function (episodeId) {
|
|
return this.fetch({ data: { episodeId: episodeId }});
|
|
}
|
|
});
|
|
});
|