mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 02:58:13 -05:00
Update profile revision on profile update.
This commit is contained in:
parent
f5789f7fda
commit
ab36b6eba6
@ -490,6 +490,7 @@ class Options
|
||||
results[key] = @fetchUrl(url, opt_bypass_cache).then((data) =>
|
||||
profile = OmegaPac.Profiles.byKey(key, @_options)
|
||||
OmegaPac.Profiles.update(profile, data)
|
||||
OmegaPac.Profiles.updateRevision(profile)
|
||||
changes = {}
|
||||
changes[key] = profile
|
||||
@_setOptions(changes).return(profile)
|
||||
|
Loading…
Reference in New Issue
Block a user