修复tsconfig

This commit is contained in:
undefined committed 2020-08-06 17:51:09 +08:00
1 parent a5886ecb99
commit e8ba53e8ec
17 files changed
+85 -66

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ async function callback({
const { UserFacingError } = global.Hydro.error;
if (error) throw new UserFacingError(error);
const [
[appid, secret, url, proxy],
[appid, secret, url, proxyUrl],
s,
] = await Promise.all([
system.getMany([
@@ -30,7 +30,7 @@ async function callback({
token.get(state, token.TYPE_OAUTH),
]);
const res = await superagent.post('https://oauth2.googleapis.com/token')
.proxy(proxy)
.proxy(proxyUrl)
.send({
client_id: appid,
client_secret: secret,