You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The delete /orders/<orderID> does not work as planed:
When called with admin privileges it should revert the order by adding a new history entry which reverts the given orderID and adding the beverage back to the stock if the order was a beverage (this should be done with a simple string matching of the reason to the beverages)
When called with user privileges it should allow to only delete orders which are not older than 30sec (right now it deletes everything)
When a order is deleted the balance of the user must be corrected as well
The text was updated successfully, but these errors were encountered:
The
delete /orders/<orderID>
does not work as planed:The text was updated successfully, but these errors were encountered: