diff --git a/app/Console/Commands/MemberResyncCommand.php b/app/Console/Commands/MemberResyncCommand.php new file mode 100644 index 00000000..622a0a36 --- /dev/null +++ b/app/Console/Commands/MemberResyncCommand.php @@ -0,0 +1,41 @@ +login(); + + $api->search([])->each( + fn (NamiMember $member) => app(MemberPullAction::class)->api($api)->member($member->group_id, $member->id)->execute() + ); + + return 0; + } +}