changes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user