api call pfad angepasst
All checks were successful
Angular Build & Deploy / deploy (push) Successful in 45s

This commit is contained in:
2026-01-07 13:52:05 +01:00
parent fe1bbc136f
commit 13f43d4575
2 changed files with 4 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ export class Produktbaum {
meldungen : Meldung[] = []
aprioriProdukte : Produktbaustein[] = [];
apriori(){
this.http.post<any[]>('/ProductsRequest', { "stichtag": "2022-02-11" })
this.http.post<any[]>('/api/ProductsRequest', { "stichtag": "2022-02-11" })
.subscribe(result => {
this.produkte = [];
this.attribute = [];
@@ -644,7 +644,7 @@ export class Produktbaum {
async calculate(verkaufsprodukt: Produktbaustein) {
const request = (await this.modelToJsonld(await this.buildRDFModel(verkaufsprodukt)));
this.produkte = [];
this.http.post<any[]>('/CalculateRequest', request )
this.http.post<any[]>('/api/CalculateRequest', request )
.subscribe(result => {
this.produkte = [];
this.attribute = [];