Skip to content

Commit

Permalink
forgot files on some post calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Feb 24, 2018
1 parent 2d3ba3a commit 1a6593c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CloudFlare/cloudflare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 1a6593c

Please sign in to comment.