mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
fix vfs server in sdk
This commit is contained in:
parent
d5370304cc
commit
ee829bdfef
@ -1,7 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
var superagent = require("superagent");
|
||||
|
||||
plugin.consumes = [
|
||||
"api",
|
||||
"passport",
|
||||
@ -338,7 +336,7 @@ function plugin(options, imports, register) {
|
||||
if (err) return console.log("Error logging activity", err.stack || err);
|
||||
});
|
||||
|
||||
superagent
|
||||
analytics.superagent && analytics.superagent
|
||||
.post(options.apiBaseUrl + "/metric/usage/" + req.params.pid + "?access_token=" + req.query.access_token)
|
||||
.end(function() {});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user