Skip to content

Commit c28cec2

Browse files
committed
fix: content-type is automatically set by lib
1 parent d7765c1 commit c28cec2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/charm.py

-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ def _create_openfga_store(self, token: str, store_name: str):
433433

434434
# to create a new store we issue a POST request to /stores
435435
# endpoint
436-
headers["Content-Type"] = "application/json"
437436
response = requests.post(
438437
"{}/stores".format(address),
439438
json={"name": store_name},

0 commit comments

Comments
 (0)