fix: serialize emoji’s
This commit is contained in:
parent
cae1bb146a
commit
158bb9b58a
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class NostrEvent(BaseModel):
|
||||||
|
|
||||||
def serialize_json(self) -> str:
|
def serialize_json(self) -> str:
|
||||||
e = self.serialize()
|
e = self.serialize()
|
||||||
return json.dumps(e, separators=(",", ":"))
|
return json.dumps(e, separators=(",", ":"), ensure_ascii=False)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def event_id(self) -> str:
|
def event_id(self) -> str:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue