Open
Conversation
Não testado.
~Ainda não testado~
williamokano
reviewed
Aug 9, 2017
| gemidao(args) | ||
| .then(() => { | ||
| .then(res => { | ||
| console.log(res); |
Collaborator
There was a problem hiding this comment.
De repente tirar esse console.log? rsrs
Morgan ou winston seria uma boa, não?
Author
There was a problem hiding this comment.
Como falei, esse código não estava pronto, o PR foi mais de fix do anterior. Deixei o log mais para deixar claro onde pegar o resultado da requisição. Além disso para um possivel PR ter mensagens de erro de acordo com a resposta da API
|
Então ainda não temos uma alternativa ao total voice? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
De acordo com o PR #11 criada pelo @luigifreitas, referente à issue #6
Refatorei o código e estou fazendo esse PR para alguem continuar o trabalho a partir deste ponto onde já é possivel testar e fazer requisições para a API da DirectCall.
A maior dificuldade agora está justamente no fluxo da API deles e na não aceitação do meu Token dado como não informado.
Além disso essa chamada de API link somente cadastra o audio. Para fazer o envio da chamada é usada este método link com os parâmetros Origem, Destino e audio_id