1
0
Fork 0

Update connection_error.rb

Dieser Commit ist enthalten in:
angusmcleod 2021-10-12 09:45:50 +08:00
Ursprung b475e39ee9
Commit 702ccc868c

Datei anzeigen

@ -25,7 +25,6 @@ class CustomWizard::Notice::ConnectionError
end end
PluginStore.set(namespace, id, attrs) PluginStore.set(namespace, id, attrs)
@errors = nil @errors = nil
end end
@ -34,7 +33,7 @@ class CustomWizard::Notice::ConnectionError
errors.each do |error_row| errors.each do |error_row|
error = JSON.parse(error_row.value) error = JSON.parse(error_row.value)
error['expired_at'] = Time.now error['expired_at'] = Time.now
error_row.value = error error_row.value = error.to_json
error_row.save error_row.save
end end
end end