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
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:
parent
d5aac674ca
commit
18ba3d46a2
1 changed files with 3 additions and 2 deletions
|
|
@ -646,9 +646,9 @@ async fn rate_object(dataid: u64, slot: i8, rating_value: i32, access_password:
|
||||||
"#,
|
"#,
|
||||||
rating_value as i64,
|
rating_value as i64,
|
||||||
dataid as i64,
|
dataid as i64,
|
||||||
slot as i8
|
slot as i16
|
||||||
)
|
)
|
||||||
.fetch_one(get_db())
|
.fetch_all(get_db())
|
||||||
.await
|
.await
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
log::error!("DB Error: {:?}", e);
|
log::error!("DB Error: {:?}", e);
|
||||||
|
|
@ -1243,6 +1243,7 @@ impl DataStore for User {
|
||||||
let param = ¶ms[i];
|
let param = ¶ms[i];
|
||||||
|
|
||||||
log::info!("Data ID: {:?}", target.dataid);
|
log::info!("Data ID: {:?}", target.dataid);
|
||||||
|
log::info!("Slot: {:?}", target.slot);
|
||||||
log::info!("Access Password: {:?}", param.access_password);
|
log::info!("Access Password: {:?}", param.access_password);
|
||||||
|
|
||||||
let object_info = get_object_info_by_data_id(target.dataid, param.access_password).await?;
|
let object_info = get_object_info_by_data_id(target.dataid, param.access_password).await?;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue