Strict done!!
This commit is contained in:
@@ -18,7 +18,11 @@ const serviceName = 'EmployeeAttendanceService';
|
||||
export class EmployeeAttendanceService {
|
||||
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
|
||||
|
||||
get(id: string, startDate: string, finishDate: string): Observable<EmployeeAttendance> {
|
||||
get(
|
||||
id: string | null,
|
||||
startDate: string | null,
|
||||
finishDate: string | null,
|
||||
): Observable<EmployeeAttendance> {
|
||||
const getUrl: string = id === null ? url : `${url}/${id}`;
|
||||
const options = { params: new HttpParams() };
|
||||
if (startDate !== null) {
|
||||
|
||||
Reference in New Issue
Block a user