mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-17 17:32:22 +00:00
apiv2: edit group as POST. Can't get PUT working with ngResource for
some reason, revisit
This commit is contained in:
parent
580279eeda
commit
1a9ebb59f2
1 changed files with 2 additions and 1 deletions
|
|
@ -378,7 +378,8 @@ module.exports = (swagger, v2) ->
|
|||
|
||||
"/groups/{gid}":
|
||||
spec:
|
||||
path: '/groups/{gid}', method: 'PUT'
|
||||
path: '/groups/{gid}'
|
||||
method: 'POST'
|
||||
description: "Edit a group"
|
||||
params: [body('','Group object (see GroupSchema)','object')]
|
||||
middleware: [auth.auth, groups.attachGroup]
|
||||
|
|
|
|||
Loading…
Reference in a new issue