This commit is contained in:
2020-04-09 14:50:54 +00:00
parent 2ba9ded8e9
commit fd475b06ce
7 changed files with 71 additions and 19 deletions

View File

@@ -91,7 +91,8 @@ namespace AyaNova.Api.Controllers
return NotFound();
}
var res = await Search.GetInfoAsync(ct, UserTranslationIdFromContext.Id(HttpContext.Items), UserRolesFromContext.Roles(HttpContext.Items), phrase, ayaType, id);
var res = await Search.GetInfoAsync(ct, UserTranslationIdFromContext.Id(HttpContext.Items),
UserRolesFromContext.Roles(HttpContext.Items),UserIdFromContext.Id(HttpContext.Items), phrase, ayaType, id);
return Ok(ApiOkResponse.Response(res, true));
}