Skip to content

Commit

Permalink
Merge branch 'release/v1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
bububa committed Jan 25, 2024
2 parents 5c6cbf1 + 20ad672 commit a9c780b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type BaseRequest struct {
AccessToken string `json:"access_token,omitempty"`
}

func (r BaseRequest) SetApp(appID string, accessToken string) {
func (r *BaseRequest) SetApp(appID string, accessToken string) {
r.AppID = appID
r.AccessToken = accessToken
}

0 comments on commit a9c780b

Please sign in to comment.