Fix 'unknown' compilation error
This commit is contained in:
parent
da4d6eabdd
commit
9bae009bbc
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ proc parseUnifiedCard*(json: string): Card =
|
||||||
component.parseMedia(card, result)
|
component.parseMedia(card, result)
|
||||||
of buttonGroup:
|
of buttonGroup:
|
||||||
discard
|
discard
|
||||||
of unknown:
|
of ComponentType.unknown:
|
||||||
echo "ERROR: Unknown component type: ", json
|
echo "ERROR: Unknown component type: ", json
|
||||||
|
|
||||||
case component.kind
|
case component.kind
|
||||||
|
|
Loading…
Reference in a new issue