Chore: Updated to Angular 16
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user