Sistemato profilo
This commit is contained in:
@@ -25,7 +25,7 @@ class GroupsController {
|
||||
|
||||
async createGroup(req, res, next) {
|
||||
try {
|
||||
const group = await this.groupsService.createGroup(req.body);
|
||||
const group = await this.groupsService.createGroup(req.body, req.userId);
|
||||
return ResponseHandler.created(res, group, 'Group created successfully');
|
||||
} catch (error) {
|
||||
next(error);
|
||||
|
||||
Reference in New Issue
Block a user