feature/add-update-attachment #1

Merged
sarah merged 2 commits from feature/add-update-attachment into master 2022-09-05 23:08:18 +01:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit 2a1d0b9c18 - Show all commits

View File

@ -78,7 +78,6 @@ def update_attachment(wiki_url, token_id, token_secret, attachment_id, file_name
requests.post(wiki_url + "/api/attachments/{}".format(attachment_id), headers=headers, data=data, files=files) requests.post(wiki_url + "/api/attachments/{}".format(attachment_id), headers=headers, data=data, files=files)
def delete_attachment(wiki_url, token_id, token_secret, attachment_id): def delete_attachment(wiki_url, token_id, token_secret, attachment_id):
headers = {} headers = {}
headers.update(get_auth_header(token_id, token_secret)) headers.update(get_auth_header(token_id, token_secret))