update-functions
main
Pushing what I hacked into existence tonight, will revisit later :)
@Zigzagill remeber to run cargo fmt before submitting last thing, and also remember to uncomment the //sync_scores(actor_addr.clone()).await; part
cargo fmt
//sync_scores(actor_addr.clone()).await;
e234499042
1df44a3e35
lgtm, comments are so we can follow-up on this with little improvements
@@ -178,0 +190,4 @@
}
#[post("/admin/game/update")]
async fn update_game(pool: web::Data<Pool>, form: web::Form<UpdateGameForm>) -> impl Responder {
okay it does look like we need to update stuff both in the games object and the db, we should do it in a follow-up though
@@ -178,0 +191,4 @@
println!("{form:?}");
should remove this if no longer need it for debugging hehe
f06c9e05a1
62275d8582
No dependencies set.
The note is not visible to the blocked user.
Pushing what I hacked into existence tonight, will revisit later :)
@Zigzagill remeber to run
cargo fmtbefore submitting last thing, and also remember to uncomment the//sync_scores(actor_addr.clone()).await;parte234499042to1df44a3e35Add admin endpoints for updating games/teamsto Add admin endpoint for updating gameslgtm, comments are so we can follow-up on this with little improvements
@@ -178,0 +190,4 @@}#[post("/admin/game/update")]async fn update_game(pool: web::Data<Pool>, form: web::Form<UpdateGameForm>) -> impl Responder {okay it does look like we need to update stuff both in the games object and the db, we should do it in a follow-up though
@@ -178,0 +191,4 @@#[post("/admin/game/update")]async fn update_game(pool: web::Data<Pool>, form: web::Form<UpdateGameForm>) -> impl Responder {println!("{form:?}");should remove this if no longer need it for debugging hehe
f06c9e05a1to62275d8582