mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
commit
c6d5f9cf1c
1 changed files with 2 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue