1
0
mirror of https://github.com/ddworken/hishtory.git synced 2025-03-31 11:27:31 +02:00

Revert "Remove TODO: I think this isn't worth implementing since in the long term, clients will update and this branch will not be necessary (and thus will primarily be tech debt)"

This reverts commit bbfda0be96.
This commit is contained in:
David Dworken 2023-09-22 21:20:53 -07:00
parent 61c8e26f89
commit eb85f9a293
No known key found for this signature in database

View File

@ -59,6 +59,8 @@ func (s *Server) apiSubmitHandler(w http.ResponseWriter, r *http.Request) {
deletionRequests, err := s.db.DeletionRequestsForUserAndDevice(r.Context(), userId, deviceId)
checkGormError(err)
resp.DeletionRequests = deletionRequests
// TODO: Update this code to call DeletionRequestInc() iff the version is new enough to be using these responses
}
if err := json.NewEncoder(w).Encode(resp); err != nil {