This commit is contained in:
José Salazar
2026-02-01 22:39:40 +09:00
parent 3cebb37dfd
commit 6277b9f5e2
19 changed files with 20900 additions and 18729 deletions

View File

@@ -168,7 +168,11 @@ class AuthRepositoryImpl implements AuthRepositoryInterface {
avatar: staffRecord.photoUrl,
);
StaffSessionStore.instance.setSession(
StaffSession(user: domainUser, staff: domainStaff),
StaffSession(
user: domainUser,
staff: domainStaff,
ownerId: staffRecord?.ownerId,
),
);
return domainUser;
}

View File

@@ -60,7 +60,7 @@ class ProfileSetupRepositoryImpl implements ProfileSetupRepository {
if (session != null) {
StaffSessionStore.instance.setSession(
StaffSession(user: session.user, staff: staff),
StaffSession(user: session.user, staff: staff, ownerId: session.ownerId),
);
}
}