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 commit is contained in:
David Dworken 2023-09-22 19:20:51 -07:00
parent 5bdbd9b262
commit bbfda0be96
No known key found for this signature in database

View File

@ -59,8 +59,6 @@ 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 {