Skip to content

Commit 18003fe

Browse files
authored
Merge pull request #524 from cshuaimin/add-hook-key
Add hook key header
2 parents ae2b07a + fcd2712 commit 18003fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

leancloud/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def new_func(*args, **kwargs):
8383
headers = {
8484
"Content-Type": "application/json;charset=utf-8",
8585
"X-LC-Id": APP_ID,
86+
"X-LC-Hook-Key": HOOK_KEY,
8687
"X-LC-Prod": USE_PRODUCTION,
8788
"User-Agent": "AVOS Cloud python-{0} SDK ({1}.{2})".format(
8889
leancloud.__version__,

0 commit comments

Comments
 (0)