Log api calls

This commit is contained in:
bashrc committed 2021-01-22 12:30:45 +00:00
1 parent 48e82b1d49
commit 7309a237ae
1 file changed
+1 -2
+1 -2
View File
@@ -793,8 +793,7 @@ class PubServer(BaseHTTPRequestHandler):
"""
if not path.startswith('/api/v1/'):
return False
if self.server.debug:
print('DEBUG: mastodon api v1 ' + path)
print('mastodon api v1: ' + path)
sendJson = None
sendJsonStr = ''