Return rank request status after requesting a beatmap

This commit is contained in:
Howl 2016-11-19 20:46:52 +01:00
parent 26435c1195
commit ac2deb9ae0
1 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ func BeatmapRankRequestsSubmitPOST(md common.MethodData) common.CodeMessager {
case nil:
// we're returning a success because if the request was already sent in the past 24
// hours, it's as if the user submitted it.
return common.SimpleResponse(200, "Your request has been submitted.")
return BeatmapRankRequestsStatusGET(md)
default:
md.Err(err)
return Err500
@ -160,5 +160,5 @@ func BeatmapRankRequestsSubmitPOST(md common.MethodData) common.CodeMessager {
return Err500
}
return common.SimpleResponse(200, "Your request has been submitted.")
return BeatmapRankRequestsStatusGET(md)
}