Skip to content

Commit

Permalink
solvee queryparam
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 10, 2024
1 parent 80823c4 commit 6076f1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compress/api_customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ func (o *compress) GetCredentials() (*Credential, error) {
func (o *compress) GetCustomerS3Zone() (*CustomerS3, error) {
//
queryParam := make(map[string]*string)
queryParam["client_id"] = o.GetCliendId()
queryParam["api_key"] = o.apiKey
queryParam["client_id"] = &o.GetCliendId()

Check failure on line 37 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

invalid operation: cannot take address of o.GetCliendId() (value of type string)

Check failure on line 37 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

invalid operation: cannot take address of o.GetCliendId() (value of type string)

Check failure on line 37 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

invalid operation: cannot take address of o.GetCliendId() (value of type string)

Check failure on line 37 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

invalid operation: cannot take address of o.GetCliendId() (value of type string)

Check failure on line 37 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

invalid operation: cannot take address of o.GetCliendId() (value of type string)

Check failure on line 37 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

invalid operation: cannot take address of o.GetCliendId() (value of type string)
queryParam["api_key"] = &o.apiKey
//
resp, err := o.restyGet(GET_ZONE(), queryParam)

Check failure on line 40 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

cannot use queryParam (variable of type map[string]*string) as type map[string]string in argument to o.restyGet

Check failure on line 40 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

cannot use queryParam (variable of type map[string]*string) as type map[string]string in argument to o.restyGet

Check failure on line 40 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

cannot use queryParam (variable of type map[string]*string) as map[string]string value in argument to o.restyGet

Check failure on line 40 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

cannot use queryParam (variable of type map[string]*string) as map[string]string value in argument to o.restyGet

Check failure on line 40 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

cannot use queryParam (variable of type map[string]*string) as map[string]string value in argument to o.restyGet

Check failure on line 40 in compress/api_customer.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

cannot use queryParam (variable of type map[string]*string) as map[string]string value in argument to o.restyGet
if err != nil {
Expand Down

0 comments on commit 6076f1a

Please sign in to comment.