From bfd93ed2772a71fe4cb27eaf29724c7031d76a5f Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Mon, 3 May 2021 00:28:15 +0530 Subject: [PATCH] fix: endpoint Signed-off-by: Ameya Shenoy --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 5500776..fba1d47 100644 --- a/app.py +++ b/app.py @@ -33,7 +33,7 @@ def main(): logger.info('Hitting CoWIN API') date_str = datetime.now(IST).strftime("%d-%m-%Y") - url = "https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id={}&date={}".format(DIST_CODE, date_str) + url = "https://cdn-api.co-vin.in/api/v2/appointment/sessions/calendarByDistrict?district_id={}&date={}".format(DIST_CODE, date_str) response = requests.get(url) available_center_list = []