diff --git a/src/Http/Controllers/Inertia/ConnectedAccountController.php b/src/Http/Controllers/Inertia/ConnectedAccountController.php index ad662a0..cbd355d 100644 --- a/src/Http/Controllers/Inertia/ConnectedAccountController.php +++ b/src/Http/Controllers/Inertia/ConnectedAccountController.php @@ -31,6 +31,7 @@ public function destroy(Request $request, StatefulGuard $guard, string|int $id): Socialstream::connectedAccountModel()::query() ->where('id', $id) ->where('user_id', $request->user()->id) + ->first() ->delete(); Session::flash('flash.banner', __('Account removed'));