fix bad response
This commit is contained in:
parent
1b51a3dc92
commit
0e616c9223
1 changed files with 2 additions and 1 deletions
|
@ -619,7 +619,8 @@ public static class Routes
|
||||||
context.Response.StatusCode = 400;
|
context.Response.StatusCode = 400;
|
||||||
return Results.Json(new JoinResponse
|
return Results.Json(new JoinResponse
|
||||||
{
|
{
|
||||||
success = false,
|
success = true,
|
||||||
|
clientSuccess = false,
|
||||||
error = "Invalid session"
|
error = "Invalid session"
|
||||||
}, Utilities.JsonSerializerOptions);
|
}, Utilities.JsonSerializerOptions);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue