From 1a6593c728ee6b99d2a7bf37980945c932ceffd3 Mon Sep 17 00:00:00 2001 From: Martin Levy Date: Fri, 23 Feb 2018 21:37:55 -0800 Subject: [PATCH] forgot files on some post calls --- CloudFlare/cloudflare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CloudFlare/cloudflare.py b/CloudFlare/cloudflare.py index 17d3b08..c33b416 100644 --- a/CloudFlare/cloudflare.py +++ b/CloudFlare/cloudflare.py @@ -520,7 +520,7 @@ def patch(self, identifier1=None, identifier2=None, identifier3=None, params=Non raise CloudFlareAPIError(0, 'patch() call not available for this endpoint') - def post(self, identifier1=None, identifier2=None, identifier3=None, params=None, data=None): + def post(self, identifier1=None, identifier2=None, identifier3=None, params=None, data=None, files=None): """ Cloudflare v4 API""" raise CloudFlareAPIError(0, 'post() call not available for this endpoint') @@ -567,7 +567,7 @@ def patch(self, identifier1=None, identifier2=None, identifier3=None, params=Non raise CloudFlareAPIError(0, 'patch() call not available for this endpoint') - def post(self, identifier1=None, identifier2=None, identifier3=None, params=None, data=None): + def post(self, identifier1=None, identifier2=None, identifier3=None, params=None, data=None, files=None): """ Cloudflare v4 API""" raise CloudFlareAPIError(0, 'post() call not available for this endpoint')