From 206256f9101f2b8ca771c1a5aed74c0ffcf496e6 Mon Sep 17 00:00:00 2001 From: Powell Quiring Date: Fri, 18 Nov 2022 13:19:16 -0800 Subject: [PATCH] react to db2 fixes --- backend/ghstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/ghstats.py b/backend/ghstats.py index 08673a2..ce89324 100644 --- a/backend/ghstats.py +++ b/backend/ghstats.py @@ -779,7 +779,7 @@ def collectStats(): # Ping subscription in Code Engine # Check for secret token -@app.route('/collectStats', methods=['POST', 'GET']) +@app.route('/collectStats', methods=['POST']) def eventCollectStats(): mydata=request.json if mydata['token']==EVENT_TOKEN: