fix the ride create issue

This commit is contained in:
2026-09-02 15:19:46 +05:30
parent 85a16396aa
commit 692fc4f290
6 changed files with 19 additions and 389 deletions
+1 -1
View File
@@ -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(); }