diff options
author | Puyodead1 <puyodead@proton.me> | 2023-08-06 22:56:13 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-08-06 22:56:13 -0400 |
commit | 5c8359ec45da01e983a3c60d380e7fab720da600 (patch) | |
tree | 01b88820e0d5ce1f6a895ea305b1f95de5994f89 /src/util/connections/RefreshableConnection.ts | |
parent | Fix some linting warnings (diff) | |
download | server-5c8359ec45da01e983a3c60d380e7fab720da600.tar.xz |
Fix connection class imports
Diffstat (limited to 'src/util/connections/RefreshableConnection.ts')
-rw-r--r-- | src/util/connections/RefreshableConnection.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/connections/RefreshableConnection.ts b/src/util/connections/RefreshableConnection.ts index fd93adfa..eaa88c1b 100644 --- a/src/util/connections/RefreshableConnection.ts +++ b/src/util/connections/RefreshableConnection.ts @@ -18,12 +18,12 @@ import { ConnectedAccount } from "../entities"; import { ConnectedAccountCommonOAuthTokenResponse } from "../interfaces"; -import Connection from "./Connection"; +import { Connection } from "./Connection"; /** * A connection that can refresh its token. */ -export default abstract class RefreshableConnection extends Connection { +export abstract class RefreshableConnection extends Connection { refreshEnabled = true; /** * Refreshes the token for a connected account. |