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

@@ -138,7 +138,7 @@ namespace AyaNova.Api.Controllers
}
//Return the list of attachment ids and filenames
return Ok(new ApiOkResponse(returnList, true));
return Ok(ApiOkResponse.Response(returnList, true));
}
@@ -204,7 +204,7 @@ namespace AyaNova.Api.Controllers
//dump file name example: ayanova.data.dump.XXX.zip
List<string> l = FileUtil.UtilityFileList("ayanova.data.dump.*.zip");
return Ok(new ApiOkResponse(l, true));
return Ok(ApiOkResponse.Response(l, true));
}