add logs about storing comments and builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-12-13 09:46:55 +01:00
parent 0883d167bc
commit b3b06a0aa8
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 0 deletions

View File

@ -49,10 +49,12 @@ class Builds {
}
async addBuild (pr, build) {
console.log(`Storing build for PR-${pr}: #${build.id} for ${build.platform}`)
return await this.builds.insert({pr, ...build})
}
async addComment (pr, comment_id) {
console.log(`Storing comment for PR-${pr}: ${comment_id}`)
return await this.comments.insert({pr, comment_id})
}