Skip to content

Commit 0c0c839

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4a9bd3f commit 0c0c839

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/login/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export async function ensureLoadedProfile (
210210
try {
211211
logInContext = await ensureLoggedIn(context)
212212
if (!logInContext.me) {
213-
const webId = authSession?.webId || await authn.checkUser()
213+
const webId = authSession.info?.webId || await authn.checkUser()
214214
if (webId) {
215215
authn.saveUser(webId, logInContext)
216216
}

0 commit comments

Comments
 (0)