Skip to content

Commit

Permalink
chore: 移除多余的调试信息
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninohana committed Sep 22, 2024
1 parent bc916b5 commit ccf014b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lcu.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,10 @@ func (lcu *Lcu) GetGameflowSession() (gameflowInfo *GameflowInfo, err error) {
// actionId: 交换请求的ActionId
func (lcu *Lcu) AcceptTrade(actionId int) error {
url := fmt.Sprintf("/lol-champ-select/v1/session/trades/%d/accept", actionId)
res, errRes := httpPost(lcu.Client, url, nil)
_, errRes := httpPost(lcu.Client, url, nil)
if errRes != nil {
return &responseError{Message: errRes.Message}
}
fmt.Println(string(res))
return nil
}

Expand Down

0 comments on commit ccf014b

Please sign in to comment.