瀏覽代碼

Fix typo.

Joe Clarke 1 年之前
父節點
當前提交
076d919692
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      automation/services/dnac-hook.py

+ 1 - 1
automation/services/dnac-hook.py

@@ -60,4 +60,4 @@ if __name__ == "__main__":
 
     message = f"{mt} Device **{j['details']['Device']}** has [issue]({j['ciscoDnaEventLink']}): {j['details']['Assurance Issue Details']}"
 
-    print(requests.post(DNAC_WEBHOOK, header=HEADERS, json={"message": message}))
+    print(requests.post(DNAC_WEBHOOK, headers=HEADERS, json={"message": message}))