An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat: able to invite more people at once
Andras Bacsai42daae10c615
diff --git a/app/Console/Commands/WaitlistInvite.php b/app/Console/Commands/WaitlistInvite.phpindex 61d0bac187..dd629d7068 100644--- a/app/Console/Commands/WaitlistInvite.php+++ b/app/Console/Commands/WaitlistInvite.php@@ -19,7 +19,7 @@ class WaitlistInvite extends Command** @var string*/- protected $signature = 'waitlist:invite {email?} {--only-email}';+ protected $signature = 'waitlist:invite {--people=1} {--only-email} {email?}';/*** The console command description.@@ -33,6 +33,12 @@ class WaitlistInvite extends Command*/public function handle(){+ $people = $this->option('people');+ for ($i = 0; $i < $people; $i++) {+ $this->main();+ }+ }+ private function main() {if ($this->argument('email')) {if ($this->option('only-email')) {$this->next_patient = User::whereEmail($this->argument('email'))->first();