Changeset 6bb334f

Timestamp:
01/13/25 02:29:08 (13 months ago)
Author:
Vasilaki Tocili <vasilakigorgi@…>
Branches:
nextjs, prototype
Children:
f7ceb2a
Parents:
58300d6
Message:

Modify and delete transactions need authorization to be performed

In main.py:

  • Extended update_transaction() and delete_transaction() to check if the current user is performing the action

In cli_app.py:

  • Added the authorization header in both the methods modidy_transaction() and delete_transaction() and passed it in the calling of the main.py's functions as argument
  • Improved the error handling to be more readable in both the methods
(No files)

Note: See TracChangeset for help on using the changeset viewer.