mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 14:46:53 +00:00
use Account-specific json serializer when reserving username hash
This commit is contained in:
1 parent
8fbc1dac74
commit
a05a230085
1 file changed
+1
-1
@@ -445,7 +445,7 @@ public class Accounts extends AbstractDynamoDbStore {
|
||||
final byte[] accountJsonBytes;
|
||||
|
||||
try {
|
||||
accountJsonBytes = SystemMapper.jsonMapper().writeValueAsBytes(account);
|
||||
accountJsonBytes = ACCOUNT_DDB_JSON_WRITER.writeValueAsBytes(account);
|
||||
} catch (final JsonProcessingException e) {
|
||||
throw new IllegalArgumentException(e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user