From 3ed1d086954152095b4361f69e70b48fe02ff1c1 Mon Sep 17 00:00:00 2001 From: karthickTwinArcus Date: Sat, 29 Mar 2025 13:27:36 +0530 Subject: [PATCH] Update lists.py --- build/lib/yonoma/lists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/lib/yonoma/lists.py b/build/lib/yonoma/lists.py index dc24a71..23f49d1 100644 --- a/build/lib/yonoma/lists.py +++ b/build/lib/yonoma/lists.py @@ -20,6 +20,6 @@ def retrieve(self, list_id): def delete(self, list_id): """Delete a list.""" - return self.client.request("POST", f"/lists/{list_id}/delete") + return self.client.request("DELETE", f"/lists/{list_id}/delete")