1
0

fix: accessing user object from item share

This commit is contained in:
2026-06-04 20:27:45 +08:00
parent 9101cfeba1
commit f923daec38
+1 -1
View File
@@ -88,7 +88,7 @@ class GameOngoing(State):
item_share = ItemShare( item_share = ItemShare(
timestamp=datetime.fromtimestamp(msg.chatMsg.timestamp, UTC), timestamp=datetime.fromtimestamp(msg.chatMsg.timestamp, UTC),
user_id=user_id, user=user,
event_id=self.event.id if item.configId == self.event.item_id else None, event_id=self.event.id if item.configId == self.event.item_id else None,
item_id=item.configId, item_id=item.configId,
count=item.ItemDetail.count, count=item.ItemDetail.count,