Skip to content

Chatbot v2.0.1

Compare
Choose a tag to compare
@decimo3 decimo3 released this 27 Sep 18:48
· 55 commits to master since this release
1851c38

Fixed issues with sending invoices:

In the update to version 2.0.0, the instruction to clean the temporary folder was removed, due to simultaneous invoice requests, it could delete invoices still pending to be sent.

An instruction was inserted in the temporary folder scanning function to delete invoices marked as sent, but it was not being executed, resulting in the accumulation of invoices in the temporary folder.

The accumulation of invoices added time to scanning the folder, to the point where requests expired before the invoices were even sent, causing further accumulation.

To solve the problem, a function was added to delete invoices immediately after sending instead of marking them for deletion.