diff --git a/api-gateway/src/app.service.ts b/api-gateway/src/app.service.ts index 426764c0..169e68e6 100644 --- a/api-gateway/src/app.service.ts +++ b/api-gateway/src/app.service.ts @@ -258,6 +258,16 @@ export class AppService { .pipe(map((message: string) => ({ message }))); } + + //GET parameter from API + removeCommonArea(paramCommonAreaId: string) { + const pattern = { cmd: 'removeCommonArea' }; + const payload = { id: paramCommonAreaId }; + return this.clientCommonAreaApp + .send(pattern, payload) + .pipe(map((message: string) => ({ message }))); + } + // ====================== GUESTS =============================== //POST parameter from API