fixes backend accept

main
Paul Schneider 5 months ago
parent f603d87b33
commit fdf75934e5
1 changed files with 1 additions and 2 deletions

@ -40,7 +40,7 @@ namespace Yavsc.ApiControllers
return Ok(); return Ok();
} }
[HttpPost("query/reject")] [HttpPost("query/accept")]
public IActionResult AcceptQuery(string billingCode, long queryId) public IActionResult AcceptQuery(string billingCode, long queryId)
{ {
if (billingCode == null) return BadRequest("billingCode"); if (billingCode == null) return BadRequest("billingCode");
@ -51,7 +51,6 @@ namespace Yavsc.ApiControllers
billing.Decided = true; billing.Decided = true;
dbContext.SaveChanges(); dbContext.SaveChanges();
return Ok(); return Ok();
} }
} }
} }

Loading…