mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-08 13:38:14 -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) =>
|
results[key] = @fetchUrl(url, opt_bypass_cache).then((data) =>
|
||||||
profile = OmegaPac.Profiles.byKey(key, @_options)
|
profile = OmegaPac.Profiles.byKey(key, @_options)
|
||||||
OmegaPac.Profiles.update(profile, data)
|
OmegaPac.Profiles.update(profile, data)
|
||||||
|
OmegaPac.Profiles.updateRevision(profile)
|
||||||
changes = {}
|
changes = {}
|
||||||
changes[key] = profile
|
changes[key] = profile
|
||||||
@_setOptions(changes).return(profile)
|
@_setOptions(changes).return(profile)
|
||||||
|
Loading…
Reference in New Issue
Block a user