From f6aedecc523da1e46dee261e662c9abec1c0a4f7 Mon Sep 17 00:00:00 2001 From: Jeffrey Yu <35394596+JeffreytheCoder@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:48:11 -0700 Subject: [PATCH] Add URL import in OAuth2Client --- src/definition/oauth2/IOAuth2.ts | 2 ++ src/server/oauth2/OAuth2Client.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/definition/oauth2/IOAuth2.ts b/src/definition/oauth2/IOAuth2.ts index ee271f38e..d46fe4dce 100644 --- a/src/definition/oauth2/IOAuth2.ts +++ b/src/definition/oauth2/IOAuth2.ts @@ -1,3 +1,5 @@ +import type { URL } from 'url'; + import type { IConfigurationExtend, IHttp, IModify, IPersistence, IRead } from '../accessors'; import type { IUser } from '../users/IUser'; diff --git a/src/server/oauth2/OAuth2Client.ts b/src/server/oauth2/OAuth2Client.ts index 0c7ff99e8..069ee200c 100644 --- a/src/server/oauth2/OAuth2Client.ts +++ b/src/server/oauth2/OAuth2Client.ts @@ -1,3 +1,5 @@ +import { URL } from 'url'; + import type { IConfigurationExtend, IHttp, IModify, IPersistence, IRead } from '../../definition/accessors'; import { HttpStatusCode } from '../../definition/accessors'; import type { IApiEndpointInfo, IApiRequest, IApiResponse } from '../../definition/api';