Skip to content

Commit

Permalink
Merge pull request Shopify#48 from thatguysimon/error-details-public
Browse files Browse the repository at this point in the history
Make error details public
  • Loading branch information
ltk authored Jan 13, 2022
2 parents 83eb94d + 593089f commit e588d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/oktakit/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ def errors
end
end

private

def data
@data ||= parse_data
end

private

def parse_data
body = @response[:body]
return if body.empty?
Expand Down

0 comments on commit e588d28

Please sign in to comment.