login(); if (!$member->hasNami || !$member->group->hasNami) { return; } $fullMember = FullMemberAction::run($api, $member->group->nami_id, $member->nami_id); InsertFullMemberAction::dispatch($fullMember); } public function asController(ActionRequest $request, Member $member): RedirectResponse|Response { $this->handle( $member, app(NamiSettings::class), ); return redirect()->back(); } }