Fix documentation about rejecting group invitation (#10466)

This commit is contained in:
Phillip Thelen
2018-06-23 11:24:33 +02:00
committed by Matteo Pagliazzi
parent 88188e56d9
commit ed27ac15c8

View File

@@ -665,14 +665,14 @@ api.joinGroup = {
};
/**
* @api {post} /api/v3/groups/:groupId/reject Reject a group invitation
* @api {post} /api/v3/groups/:groupId/reject-invite Reject a group invitation
* @apiName RejectGroupInvite
* @apiGroup Group
*
* @apiParam (Path) {UUID} groupId The group _id ('party' for the user party and 'habitrpg' for tavern are accepted)
*
* @apiParamExample {String} party:
* /api/v3/groups/party/reject
* /api/v3/groups/party/reject-invite
*
* @apiSuccess {Object} data An empty object
*