remove unnecessary await
This commit is contained in:
parent
d0d1d6e396
commit
842ec2d04d
|
@ -84,7 +84,7 @@ export class UsersService {
|
||||||
const pattern = { cmd: 'findOneCommunity' }
|
const pattern = { cmd: 'findOneCommunity' }
|
||||||
const payload = { _id: community_id }
|
const payload = { _id: community_id }
|
||||||
|
|
||||||
let callback = await this.clientCommunityApp
|
let callback = this.clientCommunityApp
|
||||||
.send<string>(pattern, payload)
|
.send<string>(pattern, payload)
|
||||||
.pipe(
|
.pipe(
|
||||||
map((response: string) => ({ response }))
|
map((response: string) => ({ response }))
|
||||||
|
|
Loading…
Reference in New Issue