fix the ride create issue
This commit is contained in:
@@ -40,7 +40,7 @@ public class RideController(RideService service, ICurrentUserService currentUser
|
||||
{
|
||||
try
|
||||
{
|
||||
var result = await service.AssignDriverAsync(id, request.FK_DriverProfileId, ct);
|
||||
var result = await service.AssignDriverAsync(id, request.DriverProfileId, ct);
|
||||
return Ok(result);
|
||||
}
|
||||
catch (KeyNotFoundException) { return NotFound(); }
|
||||
|
||||
Reference in New Issue
Block a user