This commit is contained in:
2019-04-30 19:41:00 +00:00
parent 0be48bebb3
commit ae791ec366
20 changed files with 63 additions and 55 deletions

View File

@@ -104,7 +104,7 @@ namespace AyaNova.Api.Controllers
log.LogInformation("Auth retry dlkey");
};
return Ok(new ApiOkResponse(new { dlkey = u.DlKey, expires = u.DlKeyExpire }, true));
return Ok(ApiOkResponse.Response(new { dlkey = u.DlKey, expires = u.DlKeyExpire }, true));
}
}
@@ -247,7 +247,7 @@ namespace AyaNova.Api.Controllers
}
//Return the list of attachment ids and filenames
return Ok(new ApiOkResponse(returnList, false));
return Ok(ApiOkResponse.Response(returnList, false));
}
/// <summary>