fix the DB fucking up
Some checks failed
Build and Test / super-mario-maker (push) Failing after 2m50s
Build and Test / friends (push) Successful in 3m1s
Build and Test / wii-sports-club (push) Successful in 3m20s
Build and Test / splatoon-testfire (push) Successful in 3m45s
Build and Test / wii-u-chat (push) Successful in 3m45s
Build and Test / puyopuyo (push) Successful in 3m54s
Build and Test / fast-racing-neo (push) Successful in 3m53s
Build and Test / mario-tennis (push) Successful in 3m54s
Build and Test / sonic-transformed (push) Successful in 3m54s
Build and Test / splatoon (push) Successful in 3m53s
Build and Test / minecraft-wiiu (push) Successful in 3m56s
Some checks failed
Build and Test / super-mario-maker (push) Failing after 2m50s
Build and Test / friends (push) Successful in 3m1s
Build and Test / wii-sports-club (push) Successful in 3m20s
Build and Test / splatoon-testfire (push) Successful in 3m45s
Build and Test / wii-u-chat (push) Successful in 3m45s
Build and Test / puyopuyo (push) Successful in 3m54s
Build and Test / fast-racing-neo (push) Successful in 3m53s
Build and Test / mario-tennis (push) Successful in 3m54s
Build and Test / sonic-transformed (push) Successful in 3m54s
Build and Test / splatoon (push) Successful in 3m53s
Build and Test / minecraft-wiiu (push) Successful in 3m56s
This commit is contained in:
parent
ba405b7e77
commit
4369b71b69
1 changed files with 3 additions and 3 deletions
|
|
@ -386,7 +386,7 @@ async fn init_object_rating_slot(data_id: u64, rating_param: RatingInitParamWith
|
|||
rating_param.param.period_duration as i32,
|
||||
rating_param.param.initial_value,
|
||||
)
|
||||
.fetch_one(get_db())
|
||||
.execute(get_db())
|
||||
.await
|
||||
.map_err(|e| {
|
||||
log::error!("DB Error: {:?}", e);
|
||||
|
|
@ -806,7 +806,7 @@ impl DataStore for User {
|
|||
ErrorCode::DataStore_SystemFileError
|
||||
})?;
|
||||
} else {
|
||||
return Err(ErrorCode::Transport_TemporaryServerError);
|
||||
return Err(ErrorCode::DataStore_InvalidArgument);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
@ -1184,7 +1184,7 @@ impl DataStore for User {
|
|||
})?;
|
||||
|
||||
let data_id = row.data_id as u64;
|
||||
|
||||
|
||||
for rating_param in ¶m.post_param.rating_init_params {
|
||||
log::info!("running init params");
|
||||
init_object_rating_slot(data_id, rating_param.clone())
|
||||
|
|
|
|||
Loading…
Reference in a new issue