remove unnecessary await

This commit is contained in:
Eduardo Quiros 2022-08-23 21:51:43 -06:00
parent d0d1d6e396
commit 842ec2d04d
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 9 additions and 9 deletions

View File

@ -84,7 +84,7 @@ export class UsersService {
const pattern = { cmd: 'findOneCommunity' }
const payload = { _id: community_id }
let callback = await this.clientCommunityApp
let callback = this.clientCommunityApp
.send<string>(pattern, payload)
.pipe(
map((response: string) => ({ response }))