Skip to content

Commit

Permalink
Update templates.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindavk authored Dec 5, 2023
1 parent 3325422 commit 8bf8281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/kadalu_content_apis/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def upload(self, file_path, template_type=None, name=None, output_type=None, pub
"content": (file_path, file_content)
}

resp = self.conn.http_put_upload(f"{conn.url}/api/templates/{self.name}", data, files)
resp = self.conn.http_put_upload(f"{self.conn.url}/api/templates/{self.name}", data, files)
outdata = response_object_or_error(Template, resp, 200)
outdata.conn = self.conn

Expand Down

0 comments on commit 8bf8281

Please sign in to comment.