Add Sensitive field to Profile struct
This commit is contained in:
parent
a1511c3869
commit
bd65223b41
2 changed files with 2 additions and 0 deletions
1
util.go
1
util.go
|
|
@ -386,6 +386,7 @@ func parseProfileV2(user userResult) Profile {
|
|||
URL: "https://twitter.com/" + u.ScreenName,
|
||||
UserID: user.ID,
|
||||
Username: u.ScreenName,
|
||||
Sensitive: u.PossiblySensitive,
|
||||
}
|
||||
|
||||
tm, err := time.Parse(time.RubyDate, u.CreatedAt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue