mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 17:27:18 +00:00
14 lines
368 B
JavaScript
14 lines
368 B
JavaScript
"use strict";
|
|
define(['app', 'Quality/QualityProfileModel'], function () {
|
|
|
|
var qualityProfileCollection = Backbone.Collection.extend({
|
|
model: NzbDrone.Quality.QualityProfileModel,
|
|
url : NzbDrone.Constants.ApiRoot + '/qualityprofiles'
|
|
});
|
|
|
|
var profiles = new qualityProfileCollection();
|
|
|
|
profiles.fetch();
|
|
|
|
return profiles;
|
|
});
|