There's no `await` for the handler function before returning the 200. That was wrapped in a `.then` function, which I removed. For example:
https://github.com/67P/hubot-kredits/blob/dcbce66796669c96d931a70f0f2e3ba52437af31/integrations/github.js#L173-L174
bumi
(Migrated from github.com)
approved these changes 2019-04-06 13:31:11 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Also watch for contributions added and log them.
closes #26
related to the potential noce issue: https://github.com/ethers-io/ethers.js/issues/319
I think this is ready to merge, so we can start using it with the new contracts.
I opened #28 for fixing the actual nonce issue.
but that "fix" does not block the http request?
Nope, see the lines where I changed it to not wait for the promise to resolve.
was wondering because of the await before... all that JS magic... 💥
There's no
awaitfor the handler function before returning the 200. That was wrapped in a.thenfunction, which I removed. For example:https://github.com/67P/hubot-kredits/blob/dcbce66796669c96d931a70f0f2e3ba52437af31/integrations/github.js#L173-L174
the scheduler needs to go back, then let's merge it and work on #28
I think you accidentally the
cron.scheduleOops, I missed that comment.