Skip to content

Commit 32bc25f

Browse files
Update formula.py
1 parent 14dcf1d commit 32bc25f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

github/trigger/workflow/src/formula/formula.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
def Run(user, token, owner, repository, workflow_type):
88

99
base_url = f"https://api.github.com/repos/{owner}/{repository}"
10-
authorization = f"token {token}"
10+
authorization = f"Bearer {token}"
1111
headers = {
1212
"Accept": "application/vnd.github.v3+json",
13+
"X-GitHub-Api-Version: 2022-11-28",
1314
"Authorization" : authorization,
1415
}
1516

0 commit comments

Comments
 (0)