mirror of
https://github.com/zedeus/nitter
synced 2024-11-25 11:09:32 +01:00
Fix 'unknown' compilation error
This commit is contained in:
parent
da4d6eabdd
commit
9bae009bbc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user