This commit is contained in:
@@ -29,14 +29,25 @@ namespace rockfishCore.Controllers
|
||||
|
||||
//### CUSTOMER ROUTE CALLED FROM RAVEN ####
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostLicenseFetchRequest([FromBody] dtoFetchRequest fetchRequest)
|
||||
public async Task<IActionResult> PostLicenseFetchRequest([FromBody] dtoFetchRequest fetchRequest, [FromQuery] bool dtt)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
{
|
||||
return BadRequest(ModelState);
|
||||
}
|
||||
|
||||
string FetchRequestDbId=fetchRequest.DbId;
|
||||
string FetchRequestDbId = fetchRequest.DbId;
|
||||
|
||||
if (dtt)
|
||||
{
|
||||
return Ok(new
|
||||
{
|
||||
data = new
|
||||
{
|
||||
key = RavenKeyFactory.GetRavenTestKey(FetchRequestDbId)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
string LicenseKey = null;
|
||||
//check for a key for this dbid, first check licensed then check trial
|
||||
|
||||
Reference in New Issue
Block a user