Skip to content

Commit

Permalink
messagix: stop parsing some current user fields
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 20, 2024
1 parent 7ee0aa5 commit 477ee56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/messagix/types/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ type CurrentUserInitialData struct {
IGUserEIMU string `json:"IG_USER_EIMU,omitempty"`
IsInstagramUser int `json:"IS_INSTAGRAM_USER,omitempty"`
IsInstagramBusinessPerson bool `json:"IS_INSTAGRAM_BUSINESS_PERSON,omitempty"`
IsEmployee bool `json:"IS_EMPLOYEE,omitempty"`
IsTestUser bool `json:"IS_TEST_USER,omitempty"`
// may be int?
//IsEmployee bool `json:"IS_EMPLOYEE,omitempty"`
//IsTestUser bool `json:"IS_TEST_USER,omitempty"`
}

func (c *CurrentUserInitialData) GetBusinessEmail() string {
Expand Down

0 comments on commit 477ee56

Please sign in to comment.