Skip to content

Commit

Permalink
Merge pull request #78 from dbourdrez/patch-1
Browse files Browse the repository at this point in the history
Patch GetRoles() URL builder
  • Loading branch information
Subterrane committed Apr 24, 2024
2 parents 61e6d58 + 99de7ac commit 84fb825
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/onelogin/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ func (sdk *OneloginSDK) CreateRole(role *mod.Role) (interface{}, error) {

// was ListRoles
func (sdk *OneloginSDK) GetRoles(queryParams mod.Queryable) (interface{}, error) {
p := RolePath
p, err := utl.BuildAPIPath(RolePath)
if err != nil {
return nil, err
}
resp, err := sdk.Client.Get(&p, queryParams)
if err != nil {
return nil, err
Expand Down

0 comments on commit 84fb825

Please sign in to comment.