mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-13 11:12:01 +01:00
12 lines
No EOL
362 B
JavaScript
12 lines
No EOL
362 B
JavaScript
var Backbone = require('backbone');
|
|
var ProfileModel = require('./ProfileModel');
|
|
|
|
module.exports = (function(){
|
|
var ProfileCollection = Backbone.Collection.extend({
|
|
model : ProfileModel,
|
|
url : window.NzbDrone.ApiRoot + '/profile'
|
|
});
|
|
var profiles = new ProfileCollection();
|
|
profiles.fetch();
|
|
return profiles;
|
|
}).call(this); |