mirror of
https://github.com/Readarr/Readarr
synced 2026-01-17 13:03:38 +01:00
18 lines
493 B
JavaScript
18 lines
493 B
JavaScript
'use strict';
|
||
define(
|
||
[
|
||
'backbone',
|
||
'System/StatusModel'
|
||
], function (Backbone, StatusModel) {
|
||
return Backbone.Model.extend({
|
||
url: function () {
|
||
return StatusModel.get('urlBase') + '/api/log/file/' + this.get('filename');
|
||
},
|
||
|
||
parse: function (contents) {
|
||
var response = {};
|
||
response.contents = contents;
|
||
return response;
|
||
}
|
||
});
|
||
});
|