lib/sendgrid4r/rest/users/users.rb in sendgrid4r-1.2.0 vs lib/sendgrid4r/rest/users/users.rb in sendgrid4r-1.2.1

- old
+ new

@@ -40,10 +40,10 @@ def get_user_profile(&block) resp = get(@auth, SendGrid4r::REST::Users.url, nil, &block) SendGrid4r::REST::Users.create_profile(resp) end - def patch_user_profile(params: params, &block) + def patch_user_profile(params: nil, &block) endpoint = SendGrid4r::REST::Users.url resp = patch(@auth, endpoint, params, &block) SendGrid4r::REST::Users.create_profile(resp) end end