Added FEED_TYPE config
This commit is contained in:
@@ -39,7 +39,7 @@ class SoundSender(AbcSender):
|
||||
"application/json")
|
||||
}
|
||||
|
||||
r = requests.post(urljoin(config.API_URL, "/input"), files=files)
|
||||
r = requests.post(urljoin(config.API_URL, config.FEED_TYPE), files=files)
|
||||
logging.debug(f"Content: {r.content.decode()}")
|
||||
logging.debug(f"Headers: {r.headers}")
|
||||
r.raise_for_status()
|
||||
|
||||
Reference in New Issue
Block a user