Watch
1
0
Fork
You've already forked nitter
0
mirror of https://github.com/zedeus/nitter synced 2026-11-22 12:57:19 +00:00

Fix 'unknown' compilation error

This commit is contained in:
Zed 2022-11-27 17:27:07 +01:00
commit 9bae009bbc

View file

@ -82,7 +82,7 @@ proc parseUnifiedCard*(json: string): Card =
component.parseMedia(card, result)
of buttonGroup:
discard
of unknown:
of ComponentType.unknown:
echo "ERROR: Unknown component type: ", json
case component.kind