forked from archiver_config/sf_databuffer
fix url
This commit is contained in:
@@ -182,7 +182,7 @@ def update_sources_and_policies(sources, policies, update_type="upload"):
|
||||
def update_channel_cache():
|
||||
# Update channel cache of data-api
|
||||
logging.info("Update channel cache")
|
||||
response = requests.post("https://data-api.psi.ch/sf/channels/config", json={"reload": "true"})
|
||||
response = requests.post("https://data-api.psi.ch/sf-databuffer/channels/config", json={"reload": "true"})
|
||||
if response.ok:
|
||||
logging.info("Channel cache updated successfully!")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user