forked from GitHub/dbot
syntax error
This commit is contained in:
parent
5da4d88ad9
commit
0a8ad1e468
@ -6,7 +6,7 @@ var _ = require('underscore')._;
|
|||||||
|
|
||||||
var api = function(dbot) {
|
var api = function(dbot) {
|
||||||
this.onLoad = function() {
|
this.onLoad = function() {
|
||||||
dbot.modules.web.app.get('/api': function(req, res) {
|
dbot.modules.web.app.get('/api', function(req, res) {
|
||||||
var externalApi = {};
|
var externalApi = {};
|
||||||
_.each(dbot.api, function(moduleApi, moduleName) {
|
_.each(dbot.api, function(moduleApi, moduleName) {
|
||||||
externalApi[moduleName] = {};
|
externalApi[moduleName] = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user