updated controllers to use resources
This commit is contained in:
parent
0787b75780
commit
19f81a0024
6 changed files with 79 additions and 18 deletions
|
|
@ -106,7 +106,7 @@ class InvitationController extends Controller
|
|||
Mail::to($invitation->email)->queue(new ListCollaboratorInvite(Auth::user(), $invitation));
|
||||
}
|
||||
|
||||
return response()->json(['message' => 'Invitation created successfully'], 201);
|
||||
return response()->json(['message' => 'Invitations sent!'], 201);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue