Skip to content

Commit e40eb90

Browse files
authored
Merge pull request #63 from SaifLotfi/fix-issues
fix(employee-service): fix no of views bug
2 parents 6d66fe6 + 9ae8954 commit e40eb90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/employee.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const preventUnauthorizedProfileAccess = async (empId: string,empProfileId:strin
8181
}
8282

8383
const addProfileViewsCountIfViewerIsEmployer = async (empId: string,userType:'employee'|'employer') => {
84-
if(userType === 'employee')
84+
if(userType === 'employer')
8585
await employeeRepository.addProfileViewsCount(empId);
8686
}
8787

0 commit comments

Comments
 (0)