Replace spaces in list name
This commit is contained in:
parent
1d0f95b79d
commit
48aa8d8e48
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ proc parseGraphList*(js: JsonNode): List =
|
||||||
|
|
||||||
result = List(
|
result = List(
|
||||||
id: list{"id_str"}.getStr,
|
id: list{"id_str"}.getStr,
|
||||||
name: list{"name"}.getStr,
|
name: list{"name"}.getStr.replace(' ', '-'),
|
||||||
username: list{"user", "legacy", "screen_name"}.getStr,
|
username: list{"user", "legacy", "screen_name"}.getStr,
|
||||||
userId: list{"user", "legacy", "id_str"}.getStr,
|
userId: list{"user", "legacy", "id_str"}.getStr,
|
||||||
description: list{"description"}.getStr,
|
description: list{"description"}.getStr,
|
||||||
|
|
Loading…
Reference in a new issue