Chore: Updated to Angular 16

This commit is contained in:
tanshu committed 2023-07-23 09:01:18 +05:30
1 parent 9589081046
commit 78d98f979d
99 files changed
+416 -232

No files matched your search

+4 -1
View File
@@ -12,7 +12,10 @@ const serviceName = 'PeriodService';
@Injectable({ providedIn: 'root' })
export class PeriodService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
constructor(
private http: HttpClient,
private log: ErrorLoggerService,
) {}
get(id: string | null): Observable<Period> {
const getUrl: string = id === null ? `${url}` : `${url}/${id}`;