From 7e7f917750e6e3ca2d58bbb085f791a35fc975be Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Sun, 21 Aug 2022 07:14:08 -0600 Subject: [PATCH] format --- servicio-usuarios/src/users/users.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servicio-usuarios/src/users/users.service.ts b/servicio-usuarios/src/users/users.service.ts index 81f84a40..05d6be60 100644 --- a/servicio-usuarios/src/users/users.service.ts +++ b/servicio-usuarios/src/users/users.service.ts @@ -197,7 +197,7 @@ export class UsersService { async deleteTenant(id: string) { return this.userModel.findOneAndUpdate({ _id: id }, { status: '-1' }, { - new: true, + new: true, }); } @@ -223,8 +223,8 @@ export class UsersService { const payload = { _id: community_id } let callback = this.clientCommunityApp - .send(pattern, payload) - .pipe( map((response: string) => ({ response }))) + .send(pattern, payload) + .pipe(map((response: string) => ({ response }))) const finalValue = await lastValueFrom(callback); const response = finalValue['response']; const houses = response['houses'];