From 3d078ac164c254860dc263b6afac05334c9cfe11 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 18 Aug 2020 03:23:36 -0500 Subject: [Command Tags] Move shutdown handler for variables module to end of sorted list --- app/lib/command_tag/command/variables.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit