Skip to content

Commit c76d685

Browse files
committed
use correct http method
1 parent c0caea8 commit c76d685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeforlife/mail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def remove_contact(
185185
if auth is None:
186186
auth = settings.MAIL_AUTH
187187

188-
response = requests.get(
188+
response = requests.delete(
189189
# pylint: disable-next=line-too-long
190190
url=f"https://{region}-api.dotdigital.com/contacts/v3/{identifier}/{value}",
191191
headers={

0 commit comments

Comments
 (0)