diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-18 03:23:36 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:19 -0500 |
commit | 3d078ac164c254860dc263b6afac05334c9cfe11 (patch) | |
tree | 8a52fd0a09d22540722f69ab00206fee00f9777a /app/lib | |
parent | 2d819e0e7f3e0e950f737663b329f33c59fb9ce9 (diff) |
[Command Tags] Move shutdown handler for variables module to end of sorted list
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/command_tag/command/variables.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/command_tag/command/variables.rb b/app/lib/command_tag/command/variables.rb index ebcacbf02..6ba32ea41 100644 --- a/app/lib/command_tag/command/variables.rb +++ b/app/lib/command_tag/command/variables.rb @@ -5,7 +5,7 @@ module CommandTag::Command::Variables @vars.merge!(persistent_vars_from(@account.metadata.fields)) if @account.metadata.present? end - def handle_variables_shutdown + def handle_999_variables_shutdown @account.metadata.update!(fields: nonpersistent_vars_from(@account.metadata.fields).merge(persistent_vars_from(@vars))) end |