Skip to content
Snippets Groups Projects
Verified Commit 53849764 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add missing headers to request

parent 1735495b
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ class Matrix:
headers = {"Authorization": "Bearer %s" % (self.access_token,)}
res = method(url, json=json_data)
res = method(url, json=json_data, headers=headers)
return res.json()
def _put(self, endpoint, query_data=None, json_data=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment