From 861bbead3aba429354a9cc276067ac58e2acebb3 Mon Sep 17 00:00:00 2001 From: lhllhx <52107206+lhllhx@users.noreply.github.com> Date: Fri, 11 Nov 2022 23:13:55 +0800 Subject: [PATCH] github api token update --- index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.py b/index.py index 19c9571..074924a 100644 --- a/index.py +++ b/index.py @@ -15,7 +15,7 @@ def handler(event, context): except: pass headers={} - headers["Authorization"] = github_token + headers["Authorization"] = 'Bearer '+ github_token headers["Accept"]='application/vnd.github.v3.raw' #plugins_path = os.path.join('./tmp/','plugins') #plugins_path = os.path.join('/','tmp')