fixes backend accept
This commit is contained in:
parent
06051c21b2
commit
64e00f5d90
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…
Add table
Add a link
Reference in a new issue