diff --git a/lib/pipedrive/base.rb b/lib/pipedrive/base.rb index 9a0adb0..dfb7285 100644 --- a/lib/pipedrive/base.rb +++ b/lib/pipedrive/base.rb @@ -94,7 +94,7 @@ def all(response = nil, options={},get_absolutely_all=false) end data else - bad_response(res,attrs) + bad_response(res,options) end end