File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/core/controller/account Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as vscode from "vscode"
22import crypto from "crypto"
33import { Controller } from "../index"
44import { storeSecret } from "../../storage/state"
5- import { String } from "../../../shared/proto/common"
5+ import { EmptyRequest , String } from "../../../shared/proto/common"
66
77/**
88 * Handles the user clicking the login link in the UI.
@@ -12,7 +12,7 @@ import { String } from "../../../shared/proto/common"
1212 * @param controller The controller instance.
1313 * @returns The login URL as a string.
1414 */
15- export async function accountLoginClicked ( controller : Controller ) : Promise < String > {
15+ export async function accountLoginClicked ( controller : Controller , unused : EmptyRequest ) : Promise < String > {
1616 // Generate nonce for state validation
1717 const nonce = crypto . randomBytes ( 32 ) . toString ( "hex" )
1818 await storeSecret ( controller . context , "authNonce" , nonce )
You can’t perform that action at this time.
0 commit comments