se701team3 / Forgettable

University of Auckland SOFTENG 701 Team 3 Assignment 1
MIT License
12 stars 44 forks source link

Update `time_updated` with `PUT` endpoints #323

Closed AdamAWiener closed 2 years ago

AdamAWiener commented 2 years ago

Description

When the PUT /encounters and PUT /persons endpoints are called, we need to update the time_updated field of the modified item so that we can track recently changed items and display them in order on the front end.

Acceptance Criteria

Implementation details

This will be a change related to the respective endpoints' controller files.

Testing notes

Please ensure all existing tests pass!

hajineats commented 2 years ago

Approved!

jimwang6012 commented 2 years ago

LGTM!