Skip to content

Commit 05411d6

Browse files
authored
fix: filter null values from asset metadata (#529)
1 parent 87410b1 commit 05411d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algokit/core/tasks/mint/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def to_file_path(self) -> Path:
6666
file_path = Path(tempfile.mkstemp()[1])
6767
try:
6868
with file_path.open("w") as file:
69-
json.dump(asdict(self), file)
69+
file.write(self.to_json(None))
7070
return file_path
7171
except FileNotFoundError as err:
7272
raise ValueError(f"No such file or directory: '{file_path}'") from err

0 commit comments

Comments
 (0)