Minor changes

This commit is contained in:
Pedro Pombeiro 2019-01-22 17:28:38 +01:00
parent 9dbab90dbe
commit 19792abb14
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
ISC License
Copyright (c) 2019, Pedro Pombeiro <pombeirp@users.noreply.github.com> (https://github.com/status-im/packages-check-bot)
Copyright (c) 2019, Status.im <pombeirp@users.noreply.github.com> (https://github.com/status-im/packages-check-bot)
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above

View File

@ -20,4 +20,4 @@ For more, check out the [Contributing Guide](CONTRIBUTING.md).
## License
[ISC](LICENSE) © 2019 Pedro Pombeiro <pombeirp@users.noreply.github.com> (https://status.im)
[ISC](LICENSE) © 2019 Status.im <pombeirp@users.noreply.github.com> (https://status.im)

View File

@ -14,8 +14,7 @@ export = (app: Application) => {
await checkSuiteAsync(context, context.payload.check_suite)
})
app.on(['check_run.rerequested'], async (context: Context) => {
const { check_suite } = context.payload.check_run
await checkSuiteAsync(context, check_suite)
await checkSuiteAsync(context, context.payload.check_run.check_suite)
})
async function checkSuiteAsync(