MediaAttachment debuggingw
Build and Release / run-terraform (push) Successful in 42s Details

This commit is contained in:
jfm 2024-05-02 09:24:51 +02:00
parent f95f87c375
commit 07c5434cea
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
from mastodon.authorization import MastodonAuthorization from mastodon.authorization import MastodonAuthorization
from mastodon.config import MastodonConfiguration from mastodon.config import MastodonConfiguration
from loguru import logger
import requests import requests
@ -22,4 +23,5 @@ class Timelines():
parameters["limit"] = limit parameters["limit"] = limit
response = requests.get(url, headers=self.auth.get_auth_headers(), params=parameters) response = requests.get(url, headers=self.auth.get_auth_headers(), params=parameters)
logger.debug("JSON: {}".format(response.raw()))
return response.json() return response.json()