Skip to content

Commit

Permalink
Fix: parse rdt error list (#39)
Browse files Browse the repository at this point in the history
* fix: parsing of errorList at RDT
---------

Co-authored-by: Florian <[email protected]>
  • Loading branch information
VloRyan and Florian authored Jul 4, 2023
1 parent ee099fd commit 537a7a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apis/tokens/tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ func (t *API) CreateRestrictedDataTokenRequest(restrictedResources *CreateRestri
return apis.NewCall[CreateRestrictedDataTokenResponse](http.MethodPost, pathPrefix+"/restrictedDataToken").
WithBody(body).
WithRateLimit(1.0, time.Second).
WithParseErrorListOnError(true).
Execute(t.httpClient)
}

0 comments on commit 537a7a5

Please sign in to comment.