Add server tests for redaction

This commit is contained in:
David Dworken
2022-09-21 21:46:46 -07:00
parent f2df0f04f8
commit 6db8044bec
4 changed files with 185 additions and 30 deletions

View File

@ -247,6 +247,7 @@ func addDeletionRequestHandler(w http.ResponseWriter, r *http.Request) {
if err != nil {
panic(fmt.Sprintf("body=%#v, err=%v", data, err))
}
request.ReadCount = 0
fmt.Printf("addDeletionRequestHandler: received request containg %d messages to be deleted\n", len(request.Messages.Ids))
// Store the deletion request so all the devices will get it