File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type ListCredentialsResponse struct {
1919const credentialsAPIEndpoint = "/api/v2/credentials/"
2020
2121func (cs * CredentialsService ) ListCredentials (params map [string ]string ) ([]* Credential , error ) {
22- results , err := cs .getAllPages (organizationsAPIEndpoint , params )
22+ results , err := cs .getAllPages (credentialsAPIEndpoint , params )
2323 if err != nil {
2424 return nil , err
2525 }
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ type Credential struct {
287287 Kind string `json:"kind"`
288288 Name string `json:"name"`
289289 OrganizationID int `json:"organization"`
290- CredentialTypeID int `json:"credential_type_id "`
290+ CredentialTypeID int `json:"credential_type "`
291291 Inputs map [string ]interface {} `json:"inputs"`
292292 SummaryFields map [string ]interface {} `json:"summary_fields"`
293293}
You can’t perform that action at this time.
0 commit comments