This commit is contained in:
Bastian Wagner
2026-03-13 21:36:05 +01:00
parent 2962f2c68a
commit 59d2253561

View File

@@ -461,7 +461,7 @@ export class ApiService {
createPdf(data: IKeyHandoverPDF) {
return new Promise(resolve => {
this.http.post('/api/key/pdf', data, {
this.http.post('api/key/pdf', data, {
responseType: 'blob',
}).pipe(
this.toast.observe({
@@ -485,7 +485,7 @@ export class ApiService {
getHandoverPdf(handoverId: string) {
return new Promise(resolve => {
this.http.get(`/api/key/${handoverId}/handover/pdf`,{
this.http.get(`api/key/${handoverId}/handover/pdf`,{
responseType: 'blob',
}).subscribe((blob) => {
const url = URL.createObjectURL(blob);