change up DB schema and add debugging
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 3m47s
Build and Test / splatoon (push) Successful in 3m47s
Build and Test / wii-sports-club (push) Successful in 3m48s
Build and Test / mario-tennis (push) Successful in 3m48s
Build and Test / wii-u-chat (push) Successful in 3m57s
Build and Test / fast-racing-neo (push) Successful in 3m57s
Build and Test / friends (push) Successful in 3m57s
Build and Test / puyopuyo (push) Successful in 4m2s
Build and Test / sonic-transformed (push) Successful in 4m2s
Build and Test / minecraft-wiiu (push) Successful in 4m2s
Build and Test / super-mario-maker (push) Successful in 8m59s

This commit is contained in:
red binder 2026-06-18 13:38:46 +02:00
commit 18ba3d46a2

View file

@ -646,9 +646,9 @@ async fn rate_object(dataid: u64, slot: i8, rating_value: i32, access_password:
"#,
rating_value as i64,
dataid as i64,
slot as i8
slot as i16
)
.fetch_one(get_db())
.fetch_all(get_db())
.await
.map_err(|e| {
log::error!("DB Error: {:?}", e);
@ -1243,6 +1243,7 @@ impl DataStore for User {
let param = &params[i];
log::info!("Data ID: {:?}", target.dataid);
log::info!("Slot: {:?}", target.slot);
log::info!("Access Password: {:?}", param.access_password);
let object_info = get_object_info_by_data_id(target.dataid, param.access_password).await?;