Skip to content

Commit

Permalink
Wrong HTTP method
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorHinesley committed Dec 15, 2023
1 parent fd7fd0b commit d41cd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mailchimp/member.ex
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ defmodule Mailchimp.Member do
optional_parameters
)

case HTTPClient.put(href, Jason.encode!(attrs)) do
case HTTPClient.post(href, Jason.encode!(attrs)) do
{:ok, %Response{status_code: 204, body: _body}} ->
{:ok, user}

Expand Down

0 comments on commit d41cd25

Please sign in to comment.