Skip to content

Commit

Permalink
Fix issue with bulk providers request
Browse files Browse the repository at this point in the history
  • Loading branch information
software-project committed Sep 10, 2018
1 parent e4d8b14 commit c1c4cf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nds_api/method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def action
when 'providers'
'providers'
end
"#{action}_#{object_type}"
"#{action}_#{object_type}#{method_split[2].present? ? "_#{method_split[2]}" : ''}"
end

private
Expand Down
2 changes: 1 addition & 1 deletion lib/nds_api/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def provider_enrollments(uid)
"#{providers}/#{uid}/enrollments"
end

def bulk
def search_providers_bulk
"#{providers}/bulk"
end

Expand Down

0 comments on commit c1c4cf3

Please sign in to comment.