Yep
This commit is contained in:
@@ -52,7 +52,7 @@ public class ShogiApi(HttpClient httpClient)
|
||||
/// <summary>
|
||||
/// Returns false if the move was not accepted by the server.
|
||||
/// </summary>
|
||||
public async Task<bool> Move(string sessionName, MovePieceCommand command)
|
||||
public async Task<bool> Move(Guid sessionName, MovePieceCommand command)
|
||||
{
|
||||
var response = await httpClient.PatchAsync(Relative($"Sessions/{sessionName}/Move"), JsonContent.Create(command));
|
||||
return response.IsSuccessStatusCode;
|
||||
|
||||
Reference in New Issue
Block a user