Changeset 88d7d3d

Timestamp:
01/17/25 02:12:11 (12 months ago)
Author:
Vasilaki Tocili <vasilakigorgi@…>
Branches:
nextjs, prototype
Children:
05f32c9
Parents:
f7ceb2a
Message:

New GET endpoint, extracting transactions by ID

In main.py:

  • Created new GET endpoint
  • Set the arguments of the method to the transaction ID, the user and the db
  • Added comment that explains the method get_transaction_by_id()
  • Checks if the user is admin and gives him permission to all the transactions by ID if yes
  • If the user is not admin, gives him permission to access only his transactions by ID, the ones he created
(No files)

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