Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 3129f8e

Browse files
committed
workers typo
1 parent d9ea7e8 commit 3129f8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CloudFlare/api_v4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ def zones_workers(self):
424424
self._add_with_auth(base, "zones", "workers/filters"))
425425
setattr(branch, "routes",
426426
self._add_with_auth(base, "zones", "workers/routes"))
427-
setattr(branch, "scripts",
428-
self._add_with_auth(base, "zones", "workers/scripts"))
427+
setattr(branch, "script",
428+
self._add_with_auth(base, "zones", "workers/script"))
429429

430430
def zones_load_balancers(self):
431431
""" API core commands for Cloudflare API"""

0 commit comments

Comments
 (0)