Skip to content

Commit

Permalink
react to db2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
powellquiring committed Nov 18, 2022
1 parent e366090 commit 0b66b8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/ghstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,12 +777,10 @@ def collectStats():
res=collectStatistics(logPrefix='collectStats')
return render_template('collect.html',repoCount=res["repoCount"])

print('pfq01')
# Ping subscription in Code Engine
# Check for secret token
@app.route('/collectStats', methods=['POST', 'GET'])
def eventCollectStats():
print('pfq01 /collectStatists')
mydata=request.json
if mydata['token']==EVENT_TOKEN:
res=collectStatistics(logPrefix='CEping')
Expand Down

0 comments on commit 0b66b8f

Please sign in to comment.