Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Update connection_error.rb
Dieser Commit ist enthalten in:
Ursprung
b475e39ee9
Commit
702ccc868c
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren