Trying other save method, I guess?

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-03-21 22:10:30 -07:00
parent b45dc09f57
commit 4efac7827b

View file

@ -21,7 +21,8 @@ class UpdateSlackSetting extends Migration
$settings = Setting::where('webhook_selected', '=', 'Slack')->get();
foreach($settings as $setting){
$setting->update(['webhook_selected' => 'slack']);
$setting->webhook_selected = 'slack';
$setting->save();
}
}