Closed tsa96 closed 7 months ago
The req and res as https://github.com/momentum-mod/website/issues/804.
Only allow the author of the review.
Add the current data to MapReviewEditHistory array (may not exist yet) using the current updatedAt as the createdAt. Then update the actual DB fields with the new input.
updatedAt
createdAt
The req and res as https://github.com/momentum-mod/website/issues/804.
Only allow the author of the review.
Add the current data to MapReviewEditHistory array (may not exist yet) using the current
updatedAt
as thecreatedAt
. Then update the actual DB fields with the new input.