mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-03 02:30:06 +00:00
chore: typo fixed userName
This commit is contained in:
@@ -30,7 +30,7 @@ export class AuthManager {
|
|||||||
password: string
|
password: string
|
||||||
): Promise<{
|
): Promise<{
|
||||||
isLoggedIn: boolean
|
isLoggedIn: boolean
|
||||||
username: string
|
userName: string
|
||||||
}> {
|
}> {
|
||||||
const loginParams = {
|
const loginParams = {
|
||||||
_service: 'default',
|
_service: 'default',
|
||||||
@@ -47,7 +47,7 @@ export class AuthManager {
|
|||||||
this.userName = userName!
|
this.userName = userName!
|
||||||
return {
|
return {
|
||||||
isLoggedIn,
|
isLoggedIn,
|
||||||
username: this.userName
|
userName: this.userName
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.logOut()
|
this.logOut()
|
||||||
@@ -86,7 +86,7 @@ export class AuthManager {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
isLoggedIn,
|
isLoggedIn,
|
||||||
username: this.userName
|
userName: this.userName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user