DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

c5c1766120b7f08ce57942f72949431a91c544c6 — skye 1 year, 5 months ago 8e21237
fix(client): fix create action api command field
1 files changed, 2 insertions(+), 2 deletions(-)

M client/src/api/game/create_action.rs
M client/src/api/game/create_action.rs => client/src/api/game/create_action.rs +2 -2
@@ 19,7 19,7 @@ struct CreateActionPost {
    game_id: String,
    invoker: String,
    target: String,
    command: Command,
    command: String,
    seed: u64,
}



@@ 31,7 31,7 @@ pub fn create_action(
        game_id: action.game_id.to_string(),
        invoker: action.invoker.to_string(),
        target: action.target.to_string(),
        command: action.command.clone(),
        command: serde_json::to_string(&action.command).unwrap(),
        seed: action.seed,
    });