Skip to content
This repository was archived by the owner on Jun 10, 2023. It is now read-only.

Commit b3e4ebd

Browse files
author
HyeokjinKang
committed
dlc length가 0이면 에러를 띄우던 문제를 해결
1 parent 92b55e2 commit b3e4ebd

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/index.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -859,18 +859,6 @@ app.get("/store/DLCs", async (req, res) => {
859859
"songs",
860860
"sale"
861861
);
862-
if (!results.length) {
863-
res
864-
.status(400)
865-
.json(
866-
createErrorResponse(
867-
"failed",
868-
"Failed to Load",
869-
"Failed to load DLC data."
870-
)
871-
);
872-
return;
873-
}
874862
res.status(200).json({ result: "success", data: results });
875863
});
876864

0 commit comments

Comments
 (0)