Merge pull request #3253 from dekz/api_fix

Fix API reference.
This commit is contained in:
Tyler Renelle 2014-04-12 16:27:10 -06:00
commit c6d5f9cf1c

View file

@ -455,6 +455,7 @@ module.exports = (swagger, v2) ->
spec:
path: "/groups/{gid}/chat"
description: "Get all chat messages"
parameters: [path('gid','Group to return the chat from ','string')]
middleware: [auth.auth, groups.attachGroup]
action: groups.getChat
@ -665,4 +666,4 @@ module.exports = (swagger, v2) ->
swagger["add#{route.spec.method}"](route);true
swagger.configure("#{nconf.get('BASE_URL')}/api/v2", "2")
swagger.configure("#{nconf.get('BASE_URL')}/api/v2", "2")