Skip to content

Commit 667ad9d

Browse files
committed
Fix getUser -> getAuthenticatedUser
1 parent 7eaa984 commit 667ad9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use strict"
22

3-
import { getUser } from "coder/site/src/api/api"
3+
import { getAuthenticatedUser } from "coder/site/src/api/api"
44
import * as module from "module"
55
import * as vscode from "vscode"
66
import { Commands } from "./commands"
@@ -12,7 +12,7 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
1212
const storage = new Storage(output, ctx.globalState, ctx.secrets, ctx.globalStorageUri, ctx.logUri)
1313
await storage.init()
1414

15-
getUser()
15+
getAuthenticatedUser()
1616
.then(() => {
1717
vscode.commands.executeCommand("setContext", "coder.authenticated", true)
1818
})

0 commit comments

Comments
 (0)