mirror of
https://github.com/Readarr/Readarr
synced 2025-12-19 14:56:04 +01:00
14 lines
301 B
JavaScript
14 lines
301 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'backbone'
|
|
], function (Backbone) {
|
|
|
|
var StatusModel = Backbone.Model.extend({
|
|
url: window.NzbDrone.ApiRoot + '/system/status'
|
|
});
|
|
|
|
var instance = new StatusModel();
|
|
instance.fetch();
|
|
return instance;
|
|
});
|