debugging
Some checks failed
Build and Test / super-mario-maker (push) Failing after 2m29s
Build and Test / friends (push) Successful in 3m16s
Build and Test / wii-u-chat (push) Successful in 3m17s
Build and Test / mario-tennis (push) Successful in 3m18s
Build and Test / puyopuyo (push) Successful in 3m18s
Build and Test / wii-sports-club (push) Successful in 3m24s
Build and Test / splatoon (push) Successful in 3m27s
Build and Test / minecraft-wiiu (push) Successful in 3m27s
Build and Test / splatoon-testfire (push) Successful in 3m27s
Build and Test / fast-racing-neo (push) Successful in 3m34s
Build and Test / sonic-transformed (push) Successful in 3m41s
Some checks failed
Build and Test / super-mario-maker (push) Failing after 2m29s
Build and Test / friends (push) Successful in 3m16s
Build and Test / wii-u-chat (push) Successful in 3m17s
Build and Test / mario-tennis (push) Successful in 3m18s
Build and Test / puyopuyo (push) Successful in 3m18s
Build and Test / wii-sports-club (push) Successful in 3m24s
Build and Test / splatoon (push) Successful in 3m27s
Build and Test / minecraft-wiiu (push) Successful in 3m27s
Build and Test / splatoon-testfire (push) Successful in 3m27s
Build and Test / fast-racing-neo (push) Successful in 3m34s
Build and Test / sonic-transformed (push) Successful in 3m41s
This commit is contained in:
parent
93243a4a7c
commit
85e61f9100
1 changed files with 4 additions and 1 deletions
|
|
@ -355,6 +355,7 @@ fn filter_properties_by_result_option(meta_info: &mut GetMetaInfo, result_option
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn init_object_rating_slot(data_id: u64, rating_param: RatingInitParamWithSlot) {
|
async fn init_object_rating_slot(data_id: u64, rating_param: RatingInitParamWithSlot) {
|
||||||
|
log::info!("running init object rating slot");
|
||||||
let row = sqlx::query!(
|
let row = sqlx::query!(
|
||||||
r#"
|
r#"
|
||||||
INSERT INTO datastore.object_ratings (
|
INSERT INTO datastore.object_ratings (
|
||||||
|
|
@ -391,6 +392,7 @@ async fn init_object_rating_slot(data_id: u64, rating_param: RatingInitParamWith
|
||||||
log::error!("DB Error: {:?}", e);
|
log::error!("DB Error: {:?}", e);
|
||||||
ErrorCode::DataStore_SystemFileError
|
ErrorCode::DataStore_SystemFileError
|
||||||
});
|
});
|
||||||
|
log::info!("done running");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dawg...
|
// Dawg...
|
||||||
|
|
@ -1159,7 +1161,7 @@ impl DataStore for User {
|
||||||
&del_recipient_ids,
|
&del_recipient_ids,
|
||||||
param.post_param.flag as i32,
|
param.post_param.flag as i32,
|
||||||
param.post_param.period as i32,
|
param.post_param.period as i32,
|
||||||
param.refer_data_id as i64, // The course's data ID being attached to
|
param.refer_data_id as i64, // Data ID of the course this is attached to
|
||||||
&tags,
|
&tags,
|
||||||
param.post_param.persistence_init_param.persistence_slot_id as i32,
|
param.post_param.persistence_init_param.persistence_slot_id as i32,
|
||||||
&extra_data,
|
&extra_data,
|
||||||
|
|
@ -1176,6 +1178,7 @@ impl DataStore for User {
|
||||||
let data_id = row.data_id as u64;
|
let data_id = row.data_id as u64;
|
||||||
|
|
||||||
for rating_param in ¶m.post_param.rating_init_params {
|
for rating_param in ¶m.post_param.rating_init_params {
|
||||||
|
log::info!("running init params");
|
||||||
init_object_rating_slot(data_id, rating_param.clone())
|
init_object_rating_slot(data_id, rating_param.clone())
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue