feat(auth): rename facebookIdLogin to facebookAsidLogin and update related references
This commit is contained in:
@@ -261,8 +261,8 @@ export const checkAuthStatusActor = fromPromise<LoginStatus, void>(async () => {
|
||||
const authRepo = getAuthRepository();
|
||||
const avatarUrlR = await UserStorage.getInstance().getAvatarUrl();
|
||||
const psid = await readPsid();
|
||||
const result = await authRepo.facebookIdLogin({
|
||||
fbId: asidR.data,
|
||||
const result = await authRepo.facebookAsidLogin({
|
||||
asid: asidR.data,
|
||||
avatarUrl: avatarUrlR.success ? avatarUrlR.data ?? undefined : undefined,
|
||||
psid,
|
||||
});
|
||||
@@ -270,7 +270,7 @@ export const checkAuthStatusActor = fromPromise<LoginStatus, void>(async () => {
|
||||
if (Result.isErr(result)) {
|
||||
log.warn(
|
||||
{ err: result.error.message },
|
||||
"[auth-machine] checkAuthStatusActor: facebookIdLogin failed",
|
||||
"[auth-machine] checkAuthStatusActor: facebookAsidLogin failed",
|
||||
);
|
||||
return "notLoggedIn" as LoginStatus;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user