mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 00:19:22 +01:00
Stored hashed username
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user