fixes backend accept
This commit is contained in:
@ -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();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user