Skip to content

Commit 63ab8d3

Browse files
committed
Fix indentation.
1 parent 6337781 commit 63ab8d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eventsourcingdb/event/event.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def verify_hash(self) -> None:
113113
metadata_bytes = metadata.encode("utf-8")
114114
data_bytes = json.dumps(
115115
self.data,
116-
separators=(',', ':')
116+
separators=(',', ':'),
117+
indent=None,
117118
).encode("utf-8")
118119

119120
metadata_hash = sha256(metadata_bytes).hexdigest()

0 commit comments

Comments
 (0)