-1

trying to access the external one the responder from umapi and always returns Observable {_subscribe: ƒ} how can I solve this? I'm using axios in NestJs

                async pooling(session: string): Promise<response> {
                try {
                    const { affinity, sessionKey } = await this.recuperar(session);
                    const options = this.header(affinity, sessionKey);
                    const res: response= await this.httpRequest.get(`${process.env.SF_URL}`, options)
                    return res
                } catch (e) {
                    throw (e)
                }
            }
Gustavo Henrique
  • 306
  • 1
  • 2
  • 6

0 Answers0