oauth: github: /api

This commit is contained in:
undefined committed 2022-02-09 19:24:20 +08:00
1 parent 67d4f64664
commit 59739e3d86
4 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "3.4.11",
"version": "3.4.12",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+1 -1
View File
@@ -352,7 +352,7 @@ class OauthHandler extends Handler {
@param('type', Types.String)
async get(domainId: string, type: string) {
if (global.Hydro.lib[`oauth_${type}`]) await global.Hydro.lib[`oauth_${type}`].get.call(this);
await global.Hydro.lib[`oauth_${type}`]?.get?.call(this);
}
}