mirror of
https://github.com/lil-org/tokenary.git
synced 2025-01-07 14:10:28 +03:00
Do not change stored latest configuration on cancel
This commit is contained in:
parent
815073647a
commit
8b45a64396
@ -66,7 +66,7 @@ struct ResponseToExtension {
|
||||
var bodyJSON = body?.json ?? [:]
|
||||
json.merge(bodyJSON) { (current, _) in current }
|
||||
|
||||
if request.body.value.responseUpdatesStoredConfiguration {
|
||||
if request.body.value.responseUpdatesStoredConfiguration, error == nil {
|
||||
if !bodyJSON.isEmpty {
|
||||
bodyJSON["provider"] = provider
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user