Skip to content

Commit

Permalink
fix(): bugfix, delete pr field before saveing build run
Browse files Browse the repository at this point in the history
  • Loading branch information
Izak88 committed Aug 17, 2017
1 parent ea00cf0 commit fdcb60f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/process-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit fdcb60f

Please sign in to comment.