Skip to content

Commit

Permalink
[#] twitter: record digit ID for twitter user
Browse files Browse the repository at this point in the history
  • Loading branch information
nykma committed Aug 21, 2023
1 parent 1e347de commit c4962f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions validator/twitter/twitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func (twitter *Twitter) Validate() (err error) {
return xerrors.Errorf("Tweet is not sent by this account.")
}
twitter.Text = tweet.Text
twitter.AltID = tweet.User.ID
return twitter.validateText()
}

Expand Down

0 comments on commit c4962f6

Please sign in to comment.