mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
team folder browsing with static team folder details
This commit is contained in:
@@ -10,11 +10,9 @@ use Illuminate\Contracts\Routing\ResponseFactory;
|
||||
|
||||
class InvitationsController extends Controller
|
||||
{
|
||||
|
||||
public function update(
|
||||
TeamFolderInvitation $invitation
|
||||
): ResponseFactory|Response {
|
||||
|
||||
): ResponseFactory | Response {
|
||||
$user = User::where('email', $invitation->email)
|
||||
->firstOrFail();
|
||||
|
||||
@@ -34,7 +32,7 @@ class InvitationsController extends Controller
|
||||
|
||||
public function destroy(
|
||||
TeamFolderInvitation $invitation
|
||||
): ResponseFactory|Response {
|
||||
): ResponseFactory | Response {
|
||||
$invitation->update([
|
||||
'status' => 'rejected',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user