Showing
1 changed file
with
1 additions
and
1 deletions
@@ -83,7 +83,7 @@ const detailHeader = (req, res, next) => { | @@ -83,7 +83,7 @@ const detailHeader = (req, res, next) => { | ||
83 | .then((result) => { | 83 | .then((result) => { |
84 | if (result.code === 200) { | 84 | if (result.code === 200) { |
85 | return res.render('product/detail-header', Object.assign({layout: false}, result.data)); | 85 | return res.render('product/detail-header', Object.assign({layout: false}, result.data)); |
86 | - }else{ | 86 | + } else { |
87 | res.status(204).end(); | 87 | res.status(204).end(); |
88 | } | 88 | } |
89 | }).catch(next); | 89 | }).catch(next); |
-
Please register or login to post a comment