save graphs-txid

This commit is contained in:
rcmerci
2023-03-08 17:20:56 +08:00
parent 323c3eff48
commit 99da0943c3

View File

@@ -175,7 +175,8 @@
(reset! graphs-txid
{:user-uuid user-uuid :graph-uuid graph-uuid :txid txid
:work-dir (config/get-repo-dir (state/get-current-repo))})
(remove-graphs-txid-legacy))
(remove-graphs-txid-legacy)
(persist-var/-save graphs-txid))
;; just remove the legacy graphs-txid.edn if (some? @graphs-txid)
(and (some? @graphs-txid-legacy)