fix bad response
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user