its supposed to be in prepare POST OBJECT, not prepare attach file.
Some checks failed
Build and Test / super-mario-maker (push) Failing after 3m9s
Build and Test / sonic-transformed (push) Successful in 3m23s
Build and Test / friends (push) Successful in 3m28s
Build and Test / splatoon (push) Successful in 3m28s
Build and Test / mario-tennis (push) Successful in 3m36s
Build and Test / fast-racing-neo (push) Successful in 3m38s
Build and Test / puyopuyo (push) Successful in 4m36s
Build and Test / wii-u-chat (push) Successful in 4m35s
Build and Test / splatoon-testfire (push) Successful in 4m40s
Build and Test / wii-sports-club (push) Successful in 4m41s
Build and Test / minecraft-wiiu (push) Successful in 4m41s
Some checks failed
Build and Test / super-mario-maker (push) Failing after 3m9s
Build and Test / sonic-transformed (push) Successful in 3m23s
Build and Test / friends (push) Successful in 3m28s
Build and Test / splatoon (push) Successful in 3m28s
Build and Test / mario-tennis (push) Successful in 3m36s
Build and Test / fast-racing-neo (push) Successful in 3m38s
Build and Test / puyopuyo (push) Successful in 4m36s
Build and Test / wii-u-chat (push) Successful in 4m35s
Build and Test / splatoon-testfire (push) Successful in 4m40s
Build and Test / wii-sports-club (push) Successful in 4m41s
Build and Test / minecraft-wiiu (push) Successful in 4m41s
This commit is contained in:
parent
5f11d02487
commit
ba405b7e77
1 changed files with 9 additions and 5 deletions
|
|
@ -740,6 +740,14 @@ impl DataStore for User {
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
|
log::info!("param is: {:?}", postparam);
|
||||||
|
log::info!("RIP len is: {}", postparam.rating_init_params.len());
|
||||||
|
for rating_param in &postparam.rating_init_params {
|
||||||
|
log::info!("running init params");
|
||||||
|
init_object_rating_slot(data_id, rating_param.clone())
|
||||||
|
.await
|
||||||
|
}
|
||||||
|
|
||||||
let key = format!("data/{}.bin", data_id);
|
let key = format!("data/{}.bin", data_id);
|
||||||
|
|
||||||
let (upload_url, fields) = presigner.generate_presigned_post(&key).await;
|
let (upload_url, fields) = presigner.generate_presigned_post(&key).await;
|
||||||
|
|
@ -1138,7 +1146,6 @@ impl DataStore for User {
|
||||||
let now = time::OffsetDateTime::now_utc();
|
let now = time::OffsetDateTime::now_utc();
|
||||||
let db_now = time::PrimitiveDateTime::new(now.date(), now.time());
|
let db_now = time::PrimitiveDateTime::new(now.date(), now.time());
|
||||||
|
|
||||||
log::info!("huh");
|
|
||||||
let row = sqlx::query!(
|
let row = sqlx::query!(
|
||||||
r#"
|
r#"
|
||||||
INSERT INTO datastore.objects (
|
INSERT INTO datastore.objects (
|
||||||
|
|
@ -1175,12 +1182,9 @@ impl DataStore for User {
|
||||||
log::error!("DB Error: {:?}", e);
|
log::error!("DB Error: {:?}", e);
|
||||||
ErrorCode::DataStore_SystemFileError
|
ErrorCode::DataStore_SystemFileError
|
||||||
})?;
|
})?;
|
||||||
log::info!("what?");
|
|
||||||
|
|
||||||
let data_id = row.data_id as u64;
|
let data_id = row.data_id as u64;
|
||||||
|
|
||||||
log::info!("param is: {:?}", param);
|
|
||||||
log::info!("RIP len is: {}", param.post_param.rating_init_params.len());
|
|
||||||
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");
|
log::info!("running init params");
|
||||||
init_object_rating_slot(data_id, rating_param.clone())
|
init_object_rating_slot(data_id, rating_param.clone())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue