feat(auth): rename external ids to asid psid

This commit is contained in:
2026-07-10 11:54:10 +08:00
parent 8312d08653
commit e421192560
11 changed files with 325 additions and 81 deletions
@@ -13,8 +13,8 @@ const log = new Logger("ExternalEntryPersist");
interface ExternalEntryPersistProps {
deviceId: string | null;
facebookId: string | null;
facebookAppId: string | null;
asid: string | null;
psid: string | null;
avatarUrl: string | null;
target: string | null;
redirect: string | null;
@@ -23,8 +23,8 @@ interface ExternalEntryPersistProps {
export default function ExternalEntryPersist({
deviceId,
facebookId,
facebookAppId,
asid,
psid,
avatarUrl,
target,
redirect,
@@ -43,8 +43,8 @@ export default function ExternalEntryPersist({
try {
await persistExternalEntryPayload({
deviceId,
facebookId,
facebookAppId,
asid,
psid,
avatarUrl,
});
} catch (error) {
@@ -55,10 +55,10 @@ export default function ExternalEntryPersist({
})();
}, [
avatarUrl,
asid,
deviceId,
facebookAppId,
facebookId,
next,
psid,
redirect,
router,
target,