Add it back fully

This commit is contained in:
Zed 2020-06-03 02:41:37 +02:00
parent a7e969e397
commit 85d972dc36

View file

@ -176,7 +176,7 @@ proc parseCard(js: JsonNode; urls: JsonNode): Card =
result.url = js{"url"}.getStr result.url = js{"url"}.getStr
case kind case kind
of promoVideoConvo, appPlayer: of promoVideo, promoVideoConvo, appPlayer:
result.video = some parsePromoVideo(vals) result.video = some parsePromoVideo(vals)
if kind == appPlayer: if kind == appPlayer:
result.text = vals{"app_category"}.getStrVal(result.text) result.text = vals{"app_category"}.getStrVal(result.text)