updating unit movement
This commit is contained in:
@@ -50,7 +50,7 @@ public class LocationsController : ControllerBase
|
||||
? await _locations.GetRangeAsync(minQ.Value, maxQ.Value, minR.Value, maxR.Value)
|
||||
: await _locations.GetAllAsync();
|
||||
|
||||
return Ok(locations.Select(LocationResponse.FromLocation).ToList());
|
||||
return Ok(locations.Select(location => LocationResponse.FromLocation(location)).ToList());
|
||||
}
|
||||
|
||||
[Authorize(Roles = "USER,SUPER")]
|
||||
|
||||
Reference in New Issue
Block a user