Skip to content

Commit b4ba4de

Browse files
committed
feat: add some quick debug logging
1 parent 96ef80f commit b4ba4de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

twitch_hdt_ebs/serializers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ class PubSubMessageSerializer(serializers.Serializer):
1111
def validate_data(self, data):
1212
# Fix wrong card art for Duos by faking it to BGT_BATTLEGROUNDS because the Twitch extension will fetch
1313
# constructed images otherwise.
14+
game_type = data.get("game_type")
15+
print(f"game_type={game_type}")
16+
1417
if data.get("game_type") in (65, 66, 67, 68):
1518
data["game_type"] = 50
1619

0 commit comments

Comments
 (0)