Moved to Angular 16
Moved to FastAPI 0.100.0
Moved to pydantic 2.0
This commit is contained in:
2023-07-22 09:20:01 +05:30
parent 8b2d15b9e1
commit 09b762d154
161 changed files with 693 additions and 753 deletions
+4 -1
View File
@@ -16,7 +16,10 @@ const serviceName = 'PrinterService';
providedIn: 'root',
})
export class PrinterService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
constructor(
private http: HttpClient,
private log: ErrorLoggerService,
) {}
get(id: string | null): Observable<Printer> {
const getUrl: string = id === null ? url : `${url}/${id}`;