Permalink
Browse files

fix(): approximately time remaining

  • Loading branch information...
Izak88 committed Aug 25, 2017
1 parent e68fdb3 commit 678fcd7b4c6981517007162e72db2d30b2432ab6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/api/db/build.ts
@@ -107,7 +107,7 @@ export function getBuild(id: number, userId?: number): Promise<any> {
new BuildRun()
.query(q => {
q.innerJoin('builds', 'builds.id', 'build_runs.build_id')
.where('builds.github_id', build.data.repository.id)
.where('builds.repositories_id', build.repositories_id)
.andWhere('builds.id', '<=', build.id)
.whereNotNull('build_runs.start_time')
.whereNotNull('build_runs.end_time')

0 comments on commit 678fcd7

Please sign in to comment.