From caf8d3384a7c57c6ae051e0c28f9e308da15afa2 Mon Sep 17 00:00:00 2001 From: how-to-do-frontend <131532530+how-to-do-frontend@users.noreply.github.com> Date: Mon, 5 Jun 2023 07:54:00 +1000 Subject: [PATCH] Update documentation about error code 4 for beatmaps --- routers/web/beatmaps.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/routers/web/beatmaps.js b/routers/web/beatmaps.js index 0eaf633..0e99f78 100644 --- a/routers/web/beatmaps.js +++ b/routers/web/beatmaps.js @@ -31,7 +31,7 @@ const router = new Router().domain("osu.katagiri.io"); // common error codes: // 1: the submitter doesn't own the map // 3: the map is ranked -// 4: unsure, but it is used +// 4: unsure, but it is used UPDATE 05/06/2023, error code 4 is returned when the status is less then -1 // 5: authorization failed, or punished // 6: submission limit @@ -59,7 +59,6 @@ router.handle("/web/osu-osz2-bmsubmit-getid.php", ["GET"], (req, res) => { // common error codes: // 1: the submitter doesn't own the map // 3: the map is ranked -// 4: unsure, but it is used // 5: authorization failed, or punished // 6: submission limit @@ -164,4 +163,4 @@ router.handle("/web/osu-osz2-bmsubmit-getid.php", ["GET"], (req, res) => { // #TODO: beatmap submission. -module.exports = router; \ No newline at end of file +module.exports = router;