lib/nexus/invision/client.rb in nexus-invision-1.8.1 vs lib/nexus/invision/client.rb in nexus-invision-1.9.0
- old
+ new
@@ -157,10 +157,10 @@
end
sig { params(request: Requests::EnsureMember).returns(Resources::EnsureMember) }
def ensure_member(request)
response = request(
- http_method: HTTPMethod::GET,
+ http_method: HTTPMethod::POST,
endpoint: URI("core/ensuremember/#{request.id}"),
params: request.serialize.except("id"),
)
Resources::EnsureMember.from_hash(response.body)