From 3129f8e61071aef85a14251f4090fbb01c87f03e Mon Sep 17 00:00:00 2001 From: Martin Levy Date: Wed, 14 Feb 2018 22:20:59 -0800 Subject: [PATCH] workers typo --- CloudFlare/api_v4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CloudFlare/api_v4.py b/CloudFlare/api_v4.py index 327395b..dd86902 100644 --- a/CloudFlare/api_v4.py +++ b/CloudFlare/api_v4.py @@ -424,8 +424,8 @@ def zones_workers(self): self._add_with_auth(base, "zones", "workers/filters")) setattr(branch, "routes", self._add_with_auth(base, "zones", "workers/routes")) - setattr(branch, "scripts", - self._add_with_auth(base, "zones", "workers/scripts")) + setattr(branch, "script", + self._add_with_auth(base, "zones", "workers/script")) def zones_load_balancers(self): """ API core commands for Cloudflare API"""