mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-15 23:42:45 +01:00
17 lines
305 B
JavaScript
17 lines
305 B
JavaScript
|
"use strict";
|
||
|
define(
|
||
|
[
|
||
|
'backbone',
|
||
|
'constants'
|
||
|
], function (Backbone) {
|
||
|
|
||
|
var model = Backbone.Model.extend({
|
||
|
url: Constants.ApiRoot + '/system/status'
|
||
|
});
|
||
|
|
||
|
|
||
|
var instance = new model();
|
||
|
instance.fetch();
|
||
|
return instance;
|
||
|
});
|