Removed console.log

This commit is contained in:
Erik Tiekstra
2021-09-01 13:42:19 +02:00
parent 803422dbc5
commit b892c88cfa

View File

@@ -25,7 +25,7 @@ import { mapRoleResponseToRoleObject, Role } from '@msfa-models/role.model';
import { Sort } from '@msfa-models/sort.model'; import { Sort } from '@msfa-models/sort.model';
import { ErrorService } from '@msfa-services/error.service'; import { ErrorService } from '@msfa-services/error.service';
import { BehaviorSubject, combineLatest, Observable, of, throwError } from 'rxjs'; import { BehaviorSubject, combineLatest, Observable, of, throwError } from 'rxjs';
import { catchError, filter, map, switchMap, take, tap } from 'rxjs/operators'; import { catchError, filter, map, switchMap, take } from 'rxjs/operators';
import { TjanstService } from './tjanst.service'; import { TjanstService } from './tjanst.service';
@Injectable({ @Injectable({
@@ -184,7 +184,6 @@ export class EmployeeService extends UnsubscribeDirective {
}) })
.pipe( .pipe(
take(1), take(1),
tap(res => console.log(res)),
map(res => res.data), map(res => res.data),
catchError(error => throwError({ message: error as string, type: ErrorType.API })) catchError(error => throwError({ message: error as string, type: ErrorType.API }))
); );