Revert "Revert "Stored hashed username""

This commit is contained in:
Katherine Yen
2023-02-02 11:20:44 -08:00
committed by GitHub
parent fd531242c9
commit 24f515ccb4
41 changed files with 799 additions and 1474 deletions

View File

@@ -0,0 +1,12 @@
package org.whispersystems.textsecuregcm.mappers;
import com.fasterxml.jackson.databind.JsonMappingException;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
public class JsonMappingExceptionMapper implements ExceptionMapper<JsonMappingException> {
@Override
public Response toResponse(final JsonMappingException exception) {
return Response.status(422).build();
}
}