Log api calls

merge-requests/30/head
Bob Mottram 2021-01-22 12:30:45 +00:00
parent 48e82b1d49
commit 7309a237ae
1 changed files with 1 additions and 2 deletions

View File

@ -793,8 +793,7 @@ class PubServer(BaseHTTPRequestHandler):
""" """
if not path.startswith('/api/v1/'): if not path.startswith('/api/v1/'):
return False return False
if self.server.debug: print('mastodon api v1: ' + path)
print('DEBUG: mastodon api v1 ' + path)
sendJson = None sendJson = None
sendJsonStr = '' sendJsonStr = ''