Sfoglia il codice sorgente

[bank] clone entry to diff work properly

Innocenty Enikeew 7 anni fa
parent
commit
d356fac136
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      plugins/raiffeisen.lisp
  2. 1 1
      plugins/tinkoff.lisp

+ 1 - 1
plugins/raiffeisen.lisp

@@ -262,7 +262,7 @@
                 (let ((new-chat-entry (symbol-function
                                        (intern "LEDGER/NEW-CHAT-ENTRY" ledger-package))))
                   (dolist (entry changes)
-                    (funcall new-chat-entry chat-id entry)))
+                    (funcall new-chat-entry chat-id (pta-ledger:clone-entry entry))))
                 (bot-send-message chat-id (format-entries changes) :parse-mode "markdown"))))
         (setf (gethash chat-id *last-entries*) new)))))
 

+ 1 - 1
plugins/tinkoff.lisp

@@ -220,7 +220,7 @@
                 (let ((new-chat-entry (symbol-function
                                        (intern "LEDGER/NEW-CHAT-ENTRY" ledger-package))))
                   (dolist (entry changes)
-                    (funcall new-chat-entry chat-id entry)))
+                    (funcall new-chat-entry chat-id (pta-ledger:clone-entry entry))))
                 (bot-send-message chat-id (format-entries changes) :parse-mode "markdown"))))
         (setf (gethash chat-id *last-entries*) new)))))