Skip to content

Commit

Permalink
cursor-vip update
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 15, 2024
1 parent ac0588e commit bcef86c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tui/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ func (c *Client) GetMyInfo(deviceID string) (sCount, sPayCount, isPay, ticket, e
deviceName := ""
if dUser != nil {
deviceName = dUser.Name
if deviceName == "" {
deviceName = dUser.Username
}
}
res, err := httplib.Post(host+"/my").Header("sign", sign.Sign(deviceID)).Header("deviceName", deviceName).Body(body).String()
if err != nil {
Expand Down

0 comments on commit bcef86c

Please sign in to comment.