Skip to content

Commit

Permalink
๐Ÿ”จ [FIX] : ํ•„์š”์—†๋Š” ์ด๋ฏธ์ง€ ๋ฐฐ์—ด ์ œ๊ฑฐ #175
Browse files Browse the repository at this point in the history
  • Loading branch information
choiyoorim committed Jul 9, 2022
1 parent a211c19 commit 375f550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/admin/newShopDataPOST.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const jwtHandlers = require('../../lib/jwtHandlers');
const slackAPI = require('../../middlewares/slackAPI');

module.exports = async (req, res) => {
const { shopName, subway, roadAddress, landAddress, time, close, phone, homepage, instagram, blog, store, area, category, theme, image} = req.body;
const { shopName, subway, roadAddress, landAddress, time, close, phone, homepage, instagram, blog, store, area, category, theme} = req.body;
if(!shopName || !subway || !roadAddress || !landAddress || !area || !category || !theme){
return res.status(statusCode.BAD_REQUEST).send(util.fail(statusCode.BAD_REQUEST, responseMessage.NULL_VALUE));
}
Expand Down

0 comments on commit 375f550

Please sign in to comment.