Navigation Menu

Skip to content

Commit

Permalink
馃悰 Fix entity codec
Browse files Browse the repository at this point in the history
  • Loading branch information
Romitou committed Mar 18, 2021
1 parent 2fb5cfd commit ec80be3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@ public Entity deserialize(Document document) throws StreamCorruptedException {
@Override
public Document serialize(Entity entity) {
Document document = new Document();
document.put("id", String.valueOf(entity.getEntityId()));
document.put("id", entity.getUniqueId().toString());
return document;
}

Expand Down

0 comments on commit ec80be3

Please sign in to comment.