Skip to content

Commit e8447aa

Browse files
committed
Bug fix
1 parent 889cef4 commit e8447aa

File tree

1 file changed

+2
-1
lines changed
  • intercom_python_sdk/apis/help_center

1 file changed

+2
-1
lines changed

intercom_python_sdk/apis/help_center/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# External
1818
from uplink import (
19-
json,
19+
json, headers,
2020
get, put,
2121
post, delete,
2222
Query, Body,
@@ -85,6 +85,7 @@ def list_all_collections(self):
8585

8686
@returns(CollectionSchema(many=False)) # type: ignore
8787
@json()
88+
@headers({"Content-Type": "application/x-www-form-urlencoded"})
8889
@put("collections/{collection_id}")
8990
def update_collection_by_id(self, collection_id: Union[str, int], data: Body(type=CollectionSchema)): # type: ignore
9091
""" Update a Collection.

0 commit comments

Comments
 (0)