chore: migrate bots create route
This commit is contained in:
@@ -19,6 +19,7 @@ impl<'r> Responder<'r, 'static> for Error {
|
||||
ErrorType::UnknownUser => Status::NotFound,
|
||||
ErrorType::InvalidUsername => Status::BadRequest,
|
||||
ErrorType::UsernameTaken => Status::Conflict,
|
||||
ErrorType::DiscriminatorChangeRatelimited => Status::TooManyRequests,
|
||||
ErrorType::AlreadyFriends => Status::Conflict,
|
||||
ErrorType::AlreadySentRequest => Status::Conflict,
|
||||
ErrorType::Blocked => Status::Conflict,
|
||||
|
||||
Reference in New Issue
Block a user