fix data -> json

This commit is contained in:
Nicholas St. Germain 2019-04-24 12:13:58 -05:00
parent d1fb08e62d
commit b43de028af

View file

@ -125,5 +125,5 @@ dashboard_data = {
} }
] ]
} }
make_dashboard = session.post(url_base + '/dashboards/import', data=dashboard_data, auth=auth, verify=verify) make_dashboard = session.post(url_base + '/dashboards/import', json=dashboard_data, auth=auth, verify=verify)
print('Created dashboard "Varken-Script"') print('Created dashboard "Varken-Script"')