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:
parent
61c8e26f89
commit
eb85f9a293
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user