Compare commits

..

No commits in common. "1d04c7ed59482001a28813660eed436d50f52006" and "e591b110656b58049975180249cde9eed5e6fcb1" have entirely different histories.

View file

@ -417,6 +417,7 @@ pub fn get_levels(input: Form<FormGetLevels>) -> status::Custom<&'static str> {
{ if let 1 = level.rated_coins {
true
} else {
println!("{}", "no rated coin");
false
}}
));
@ -430,6 +431,9 @@ pub fn get_levels(input: Form<FormGetLevels>) -> status::Custom<&'static str> {
let search_meta = format!("{}:{}:{}", level_count, input.page * 10, 10);
let response = vec![results.join("|"), users.join("|"), songs.join("|"), search_meta, helpers::encryption::gen_multi(hash_data)].join("#");
println!("{}", response);
return status::Custom(Status::Ok, Box::leak(response.into_boxed_str()))
}
}
//1:93455181:2:Siinamota:5:1:6:158483568:8:10:9:40:10:2171:12:0:13:21:14:40:17::43:5:25::18:0:19:0:42:0:45:3318:3:QnkgSm9yZ2UwMDFZVCAgcGFyYSBlc2N1Y2hhciBsYSBDYW5jaW9uIE5lY2VzaXRhcyBSZW1wbGF6YXIgZXN0YSA6XSBwYXMgMDAwMDAw:15:1:30:0:31:0:37:1:38:0:39:5:46:1:47:2:35:633211#158483568:Jorge001yt:16248905#1~|~633211~|~2~|~Random Song 04~|~3~|~42023~|~4~|~Zhenmuron~|~5~|~0.31~|~6~|~~|~10~|~http%3A%2F%2Faudio.ngfiles.com%2F633000%2F633211_Random-Song-04.mp3~|~7~|~~|~8~|~1#9999:0:10#d19e918b852b706b20e7fbc31bbb07d92efda123