Skip to content
Snippets Groups Projects
Commit 193c6adc authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Don't spam dashboard updates

parent e96f0072
No related branches found
No related tags found
No related merge requests found
......@@ -122,8 +122,8 @@ def create_dashboard(request: TokenRequest, dashboard: Dict, folder_id=None):
payload['folderId'] = folder_id
try:
action = "Updating" if existing_dashboard else "Creating"
logger.info(f'{action} dashboard: {title}')
# action = "Updating" if existing_dashboard else "Creating"
# logger.info(f'{action} dashboard: {title}')
r = request.post('api/dashboards/db', json=payload)
return r
except HTTPError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment