Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
lisong committed Aug 24, 2019
1 parent a0415ad commit 6fd2da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ router.get('/:appName/deployments/:deploymentName/history',
return deployments.getDeploymentHistory(deploymentInfo.id);
})
.then((rs) => {
res.send({history: rs});
res.send({history: _.pullAll(rs, [null, false])});
})
.catch((e) => {
if (e instanceof AppError.AppError) {
Expand Down

0 comments on commit 6fd2da1

Please sign in to comment.