summaryrefslogtreecommitdiff
path: root/lib/sedp/sync-projects.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sedp/sync-projects.ts')
-rw-r--r--lib/sedp/sync-projects.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/sedp/sync-projects.ts b/lib/sedp/sync-projects.ts
index 1094b55f..0f5ed2a8 100644
--- a/lib/sedp/sync-projects.ts
+++ b/lib/sedp/sync-projects.ts
@@ -38,15 +38,12 @@ async function getProjects(): Promise<Project[]> {
const response = await fetch(
`${SEDP_API_BASE_URL}/Project/Get`,
{
- method: 'POST',
+ method: 'GET',
headers: {
'Content-Type': 'application/json',
'accept': '*/*',
'ApiKey': apiKey
- },
- body: JSON.stringify({
- ContainDeleted: true
- })
+ }
}
);