From 08c8d163f4ef84073f7c51e2f02bd61191e18d9c Mon Sep 17 00:00:00 2001 From: prayansh_chhablani Date: Tue, 24 Dec 2024 00:17:40 +0530 Subject: [PATCH] api fix --- .github/workflows/pull-request.yml | 2 +- Accept: | 0 GET | 0 Host: | 0 User-Agent: | 0 5 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Accept: create mode 100644 GET create mode 100644 Host: create mode 100644 User-Agent: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index b376ea3ac7..1fac810783 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -382,7 +382,7 @@ jobs: # Wait for TALAWA API to be healthy timeout=60 - until docker-compose -f docker-compose.dev.yaml exec -T talawa-api-dev curl -sf "http://localhost:4000/graphql" 2>&1 || [ $timeout -eq 0 ]; do + until docker-compose -f docker-compose.dev.yaml exec -T talawa-api-dev curl -v -X OPTIONS "http://talawa-api-dev:4000/graphql" 2>&1 || [ $timeout -eq 0 ]; do echo "Waiting for API to start... ($timeout seconds remaining)" sleep 1 ((timeout--)) diff --git a/Accept: b/Accept: new file mode 100644 index 0000000000..e69de29bb2 diff --git a/GET b/GET new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Host: b/Host: new file mode 100644 index 0000000000..e69de29bb2 diff --git a/User-Agent: b/User-Agent: new file mode 100644 index 0000000000..e69de29bb2