kopia lustrzana https://github.com/c9/core
fix vfs server in sdk
rodzic
d5370304cc
commit
ee829bdfef
|
@ -1,7 +1,5 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var superagent = require("superagent");
|
|
||||||
|
|
||||||
plugin.consumes = [
|
plugin.consumes = [
|
||||||
"api",
|
"api",
|
||||||
"passport",
|
"passport",
|
||||||
|
@ -338,7 +336,7 @@ function plugin(options, imports, register) {
|
||||||
if (err) return console.log("Error logging activity", err.stack || err);
|
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)
|
.post(options.apiBaseUrl + "/metric/usage/" + req.params.pid + "?access_token=" + req.query.access_token)
|
||||||
.end(function() {});
|
.end(function() {});
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue