mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Trying other save method, I guess?
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b45dc09f57
commit
4efac7827b
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue