You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/UI/Quality/QualityProfileCollection.js

19 lines
441 B

'use strict';
define(
[
'backbone',
'Quality/QualityProfileModel'
], function (Backbone, QualityProfileModel) {
var QualityProfileCollection = Backbone.Collection.extend({
model: QualityProfileModel,
url : window.NzbDrone.ApiRoot + '/qualityprofiles'
});
var profiles = new QualityProfileCollection();
profiles.fetch();
return profiles;
});