the user name of the employee is being displayed
This commit is contained in:
@@ -41,6 +41,9 @@ class AuthRepositoryImpl implements AuthRepository {
|
||||
if (responseDto.data?.employeeId != null) {
|
||||
print("AUTH_REPO: Caching EmployeeId: ${responseDto.data!.employeeId}");
|
||||
await localDataSource.cacheEmployeeId(responseDto.data!.employeeId!);
|
||||
if (responseDto.data!.fullName != null) {
|
||||
await localDataSource.cacheFullName(responseDto.data!.fullName!);
|
||||
}
|
||||
} else {
|
||||
print("AUTH_REPO: EmployeeId is NULL in response!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user