Commit 8924c4d8 authored by Dennis Willers's avatar Dennis Willers 🏀

Implement add and remove Service

parent c98b09dc
Pipeline #298 passed with stages
in 5 minutes and 24 seconds
...@@ -43,4 +43,14 @@ export class TabuMiddlewareService { ...@@ -43,4 +43,14 @@ export class TabuMiddlewareService {
console.log(req); console.log(req);
return this.request('POST', `${environment.tabuMiddlewareURL}getS2C`, req); return this.request('POST', `${environment.tabuMiddlewareURL}getS2C`, req);
} }
addPoint(req: any): Promise<any> {
console.log(req);
return this.request('POST', `${environment.tabuMiddlewareURL}addPoint`, req);
}
removePoint(req: any): Promise<any> {
console.log(req);
return this.request('POST', `${environment.tabuMiddlewareURL}removePoint`, req);
}
} }
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
export const environment = { export const environment = {
production: false, production: false,
tabuMiddlewareURL: 'http://tabu-middleware.willers.digital/' tabuMiddlewareURL: 'http://localhost:8080/'
//tabuMiddlewareURL: 'http://tabu-middleware.willers.digital/'
}; };
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment