Compare commits

..

No commits in common. "ad9012cf645b257c7664fec3decfedf34a2791e4" and "3daa17cccfeab0f6e7bb8972fcfbbfc28a42ec9d" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View file

@ -34,6 +34,6 @@ _these features are implemented_
## todo
- find out why the last user's colors in getusers are broken???? (might be rubrub issue !!)
- get users multiple pages
- move authorization logic to (./src/helpers/accounts.rs)[./src/helpers/accounts.rs]
- make gjp2 authentication faster (bcrypt?)

View file

@ -88,9 +88,7 @@ pub fn get_users(input: Form<FormGetUsers>) -> status::Custom<&'static str> {
let response = if amount < 1 {
String::from("-1")
} else {
println!("{:?}", results);
println!("{:?}", vec![results.join("|"), format!("{}:{}:10", amount, input.page * 10)].join("#"));
vec![results.join("|"), format!("{}:{}:10", amount, input.page * 10)].join("#")
vec![results.join("|"), format!("{}:#{}:10", amount, input.page * 10)].join("#")
};
return status::Custom(Status::Ok, Box::leak(response.into_boxed_str()))