Chore: Updated to Angular 16

This commit is contained in:
2023-07-23 09:01:18 +05:30
parent 9589081046
commit 78d98f979d
99 changed files with 416 additions and 232 deletions

View File

@ -14,7 +14,10 @@ const serviceName = 'RecipeTemplateService';
providedIn: 'root',
})
export class RecipeTemplateService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
constructor(
private http: HttpClient,
private log: ErrorLoggerService,
) {}
get(id: string | null): Observable<RecipeTemplate> {
const getUrl: string = id === null ? url : `${url}/${id}`;