Permalink
Browse files

fix(): bugfix, delete pr field before saveing build run

  • Loading branch information...
Izak88 committed Aug 17, 2017
1 parent ea00cf0 commit fdcb60f98bb0c58866d5a59f4bed8b1891a2d539
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/api/process-manager.ts
@@ -387,6 +387,7 @@ export function restartBuild(buildId: number): Promise<any> {
build.build_id = buildId;
delete build.repositories_id;
delete build.jobs;
delete build.pr;
insertBuildRun(build);
})
.then(() => getLastRunId(build.id))

0 comments on commit fdcb60f

Please sign in to comment.