Initial users support

This commit is contained in:
video-prize-ranch
2022-01-27 20:41:10 -05:00
parent fdd66853f9
commit 8d21d1a576
15 changed files with 344 additions and 66 deletions

View File

@@ -75,7 +75,7 @@ func ParseComment(data gjson.Result) types.Comment {
return types.Comment{
Comments: comments,
User: types.User{
Id: data.Get("account.id").String(),
Id: data.Get("account.id").Int(),
Username: data.Get("account.username").String(),
Avatar: userAvatar,
},