mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
removed ServerStatus.js
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone'
|
||||
], function (Backbone) {
|
||||
'backbone',
|
||||
'api!system/status'
|
||||
], function (Backbone, statusData) {
|
||||
|
||||
var StatusModel = Backbone.Model.extend({
|
||||
url: window.NzbDrone.ApiRoot + '/system/status'
|
||||
});
|
||||
|
||||
var instance = new StatusModel();
|
||||
instance.fetch();
|
||||
var instance = new StatusModel(statusData);
|
||||
return instance;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user