From d32045ed7f972c09f2db1bdeafdf103a6307445e Mon Sep 17 00:00:00 2001 From: Anand Suthar Date: Fri, 25 Oct 2024 00:23:31 +0530 Subject: [PATCH] feat: use POST method --- .github/workflows/clean-demo-data.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/clean-demo-data.yml b/.github/workflows/clean-demo-data.yml index 5186f4b..db7b8cb 100644 --- a/.github/workflows/clean-demo-data.yml +++ b/.github/workflows/clean-demo-data.yml @@ -26,6 +26,7 @@ jobs: console.log('Starting demo users cleanup'); const response = await fetch(`${API_BASE_URL}/get-users`, { + method: 'POST', headers: { 'Authorization': `Bearer ${API_TOKEN}`, 'Content-Type': 'application/json'