1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-22 18:07:14 +01:00

Replace spaces in list name

This commit is contained in:
SolitudeSF 2020-11-10 13:53:56 +02:00 committed by Zed
parent 1d0f95b79d
commit 48aa8d8e48

View File

@ -59,7 +59,7 @@ proc parseGraphList*(js: JsonNode): List =
result = List(
id: list{"id_str"}.getStr,
name: list{"name"}.getStr,
name: list{"name"}.getStr.replace(' ', '-'),
username: list{"user", "legacy", "screen_name"}.getStr,
userId: list{"user", "legacy", "id_str"}.getStr,
description: list{"description"}.getStr,