Removed timestamp_raw from json

The raw timestamp still exists internally for decoding, grouping, and UID generation, and it still stays in CSV.
This commit is contained in:
Golumpa 2026-06-11 00:21:10 +01:00
parent bb3fe3b19a
commit 22144a3ee7

View file

@ -63,7 +63,6 @@ def _record_for_export(row: dict[str, Any]) -> dict[str, Any]:
"uid": row.get("uid"),
"pool_group_id": row.get("pool_group_id"),
"timestamp": row.get("timestamp_decoded"),
"timestamp_raw": row.get("timestamp_raw_hex"),
"timestamp_group_ordinal": row.get("timestamp_group_ordinal"),
"reward_type": row.get("reward_type"),
"reward_id": row.get("reward_id"),
@ -76,7 +75,6 @@ def _record_for_export(row: dict[str, Any]) -> dict[str, Any]:
"uid": row.get("uid"),
"pool_group_id": row.get("pool_group_id", BANNER_ID),
"timestamp": row.get("timestamp_decoded"),
"timestamp_raw": row.get("timestamp_raw_hex"),
"timestamp_group_ordinal": row.get("timestamp_group_ordinal"),
"roll_result": row.get("dice"),
"result_type": row.get("result_type") or ("points_gift" if row.get("dice") == 0 else "dice"),