finished writing tests for getcharacterbyidasync
This commit is contained in:
1 parent
7ac3b16cb8
commit
0a7c522faa
3 files changed
+128
-5
No files matched your search
@@ -66,7 +66,7 @@ namespace server.Controllers.v1
|
||||
if (!ObjectId.TryParse(id, out _))
|
||||
{
|
||||
ModelState.AddModelError(nameof(id), $"{id} is not a valid id");
|
||||
return ValidationProblem();
|
||||
return ValidationProblem(detail: "Invalid request");
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user