no server record => 44

This commit is contained in:
zkldi
2021-05-21 16:47:03 +01:00
parent 4f14b4b3cd
commit 3fab1ff0bc
+2 -3
View File
@@ -152,10 +152,9 @@ router.get("/charts/:chartHash/record", RetrieveChart, async (req, res) => {
})) as PBScoreDocument<"usc:Single"> | null;
if (!serverRecord) {
// @todo See uscir-spec #1
return res.status(200).json({
success: STATUS_CODES.SERVER_ERROR,
description: "TODO",
success: STATUS_CODES.NOT_FOUND,
description: "No server record found.",
});
}