save workflow to config.edn

This commit is contained in:
Weihua Lu
2021-03-12 20:04:06 +08:00
committed by Tienson Qin
parent 48f4b00819
commit d026ba0d5b
2 changed files with 2 additions and 1 deletions

View File

@@ -55,6 +55,7 @@
(defn set-preferred-workflow!
[workflow]
(when workflow
(config-handler/set-config! :preferred-workflow workflow)
(state/set-preferred-workflow! workflow)
(when (:name (:me @state/state))
(util/post (str config/api "set_preferred_workflow")