M sdbclient/src/api/game/mod.rs => sdbclient/src/api/game/mod.rs +1 -1
@@ 23,7 23,7 @@ pub enum ResponseCreateGame {
Valid(ResultCreateGame),
}
-pub fn creategame(api_address: String, token: String) -> ResponseCreateGame {
+pub fn create(api_address: String, token: String) -> ResponseCreateGame {
let client = reqwest::blocking::Client::new();
let resp = client
M => +1 -1
@@ 42,7 42,7 @@ pub(super) fn start(
let thread_pool = AsyncComputeTaskPool::get();
let task = thread_pool.spawn(async move {
let create_game_response = api::game::creategame(api_address, token);
let create_game_response = api::game::create(api_address, token);
CreateGameCallResponse {
game: create_game_response,