Fix for 3b7ce4b, change where setup is defined for our protocols

This commit is contained in:
2024-11-04 13:06:04 +11:00
parent 242f4013b1
commit 80fa3e840b
5 changed files with 8 additions and 8 deletions

View File

@@ -93,13 +93,13 @@ class AddressPoll implements ShouldQueue, ShouldBeUnique
switch ($o->name) {
case 'BINKP':
$s = new Binkp(Setup::findOrFail(config('app.id')));
$s = new Binkp;
$mo = Mailer::where('name','BINKP')->singleOrFail();
break;
case 'EMSI':
$s = new EMSI(Setup::findOrFail(config('app.id')));
$s = new EMSI;
$mo = Mailer::where('name','EMSI')->singleOrFail();
break;