Skip to content

Commit

Permalink
Merge pull request #91 from EdgeCast/frank_040822_DEN-247_customeruser
Browse files Browse the repository at this point in the history
[DEN-274] Fix UpdateCustomerUser and update example file with token type
  • Loading branch information
wdawg33 authored Apr 11, 2022
2 parents f9e7d72 + 662cb44 commit 617f131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions edgecast/customer/customer_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func (svc *CustomerService) UpdateCustomerUser(
"id": params.Customer.HexID,
"partnerid": strconv.Itoa(params.Customer.PartnerID),
},
RawBody: params.CustomerUser,
})
if err != nil {
return fmt.Errorf("UpdateCustomerUser: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion example/customer/customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func main() {

// Setup - fill in the below variables before running this code
apiToken := "MY_API_TOKEN"
apiToken := "MY_PARTNER_API_TOKEN"

sdkConfig := edgecast.NewSDKConfig()
sdkConfig.APIToken = apiToken
Expand Down

0 comments on commit 617f131

Please sign in to comment.