Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation about error code 4 for beatmaps #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions routers/web/beatmaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -164,4 +163,4 @@ router.handle("/web/osu-osz2-bmsubmit-getid.php", ["GET"], (req, res) => {

// #TODO: beatmap submission.

module.exports = router;
module.exports = router;