From 6fd2da1daa675e9be7b9eb768bd33f769e174bf0 Mon Sep 17 00:00:00 2001 From: tablee Date: Sat, 24 Aug 2019 17:48:32 +0800 Subject: [PATCH] fixbug --- routes/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/apps.js b/routes/apps.js index 8edc39a9..8fd7d832 100644 --- a/routes/apps.js +++ b/routes/apps.js @@ -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) {