You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the api method client.website.add_new_people_profile and i get this error:
/gems/crisp-api-1.0.2/lib/crisp-api.rb:114:in `_do_request': invalid_data (RouteError)
from /gems/crisp-api-1.0.2/lib/crisp-api.rb:65:in `post'
from /gems/crisp-api-1.0.2/lib/resources/website.rb:189:in `add_new_people_profile'
from crisp_test.rb:14:in `<main>'
it seems the method add_new_people_profile is not using the data parameter:
def add_new_people_profile(website_id, data)
return @parent.post(self._url_website(website_id, "/people/profile"))
end
it should be:
def add_new_people_profile(website_id, data)
return @parent.post(self._url_website(website_id, "/people/profile"), data: data)
end
The text was updated successfully, but these errors were encountered:
I am trying to use the api method client.website.add_new_people_profile and i get this error:
it seems the method
add_new_people_profile
is not using the data parameter:it should be:
The text was updated successfully, but these errors were encountered: