Open
Description
Currently, The invites are returned along with status attached with each invite. We should remove the status and group it by the status types and return. This would make parsing at the frontend easier.
Occurence in Code:
Reference: https://laravel.com/docs/5.3/queries#ordering-grouping-limit-and-offset