Skip to content

Commit 4101d10

Browse files
Fix the component update request (#203)
1 parent e8c19af commit 4101d10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libmozdata/bugzilla.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,9 @@ def put(self, data):
11051105
data (dict): a dictionary
11061106
"""
11071107

1108-
response = requests.put(self.component_url, data, headers=self.get_header())
1108+
response = requests.put(
1109+
self.component_url, json=data, headers=self.get_header()
1110+
)
11091111
response.raise_for_status()
11101112

11111113
return response.json()

0 commit comments

Comments
 (0)