Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sw0501 committed Dec 13, 2022
2 parents 1c57f22 + 369f1a8 commit 5beb36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Backend/routes/subwaydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,8 @@ router.get('/transferMove/transferList/:stCd/:stNm/:railCd/:lnCd', async (req, r
lnCd = req.params.lnCd;

await getTransferList(stCd, stNm, railCd, lnCd, callback => {
if (callback[0].error != null) {
return res.status(500).json(callback[0])
if (callback.error != null) {
return res.status(500).json(callback)
}
return res.json(callback)
});
Expand Down

0 comments on commit 5beb36b

Please sign in to comment.