Skip to content

Commit 18e01d2

Browse files
committed
fix list update on stellar
1 parent f2684cf commit 18e01d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indexer_app/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,8 +2117,8 @@ def handle_stellar_list_update(data, contract_id, timestamp, chain_id="stellar")
21172117
description=data["description"],
21182118
cover_image_url=data["cover_img_url"],
21192119
admin_only_registrations=data["admin_only_registrations"],
2120-
created_at=datetime.fromtimestamp(data["created_at"] / 1000),
2121-
updated_at=datetime.fromtimestamp(data["updated_at"] / 1000),
2120+
created_at=datetime.fromtimestamp(data["created_ms"] / 1000),
2121+
updated_at=datetime.fromtimestamp(data["updated_ms"] / 1000),
21222122
)
21232123
return True
21242124
except Exception as e:

0 commit comments

Comments
 (0)