summary refs log tree commit diff
path: root/src/util/connections/RefreshableConnection.ts
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-08-06 22:56:13 -0400
committerPuyodead1 <puyodead@proton.me>2023-08-06 22:56:13 -0400
commit5c8359ec45da01e983a3c60d380e7fab720da600 (patch)
tree01b88820e0d5ce1f6a895ea305b1f95de5994f89 /src/util/connections/RefreshableConnection.ts
parentFix some linting warnings (diff)
downloadserver-5c8359ec45da01e983a3c60d380e7fab720da600.tar.xz
Fix connection class imports
Diffstat (limited to 'src/util/connections/RefreshableConnection.ts')
-rw-r--r--src/util/connections/RefreshableConnection.ts4
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.