Skip to content

Commit

Permalink
Update objects.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindavk authored Dec 5, 2023
1 parent 1d7634d commit e3b145a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/kadalu_content_apis/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ def upload(self, file_path, object_type=None, path=None, template=None):
"data": (file_path, file_content)
}

resp = conn.http_put_upload(url, data, files)
resp = self.conn.http_put_upload(url, data, files)
outdata = response_object_or_error(Document, resp, 200)
outdata.conn = conn
outdata.conn = self.conn
outdata.folder_name = folder_name
return outdata

Expand Down

0 comments on commit e3b145a

Please sign in to comment.