mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
oauth: github: /api
This commit is contained in:
1 parent
67d4f64664
commit
59739e3d86
4 files changed
+8
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user