forked from ddrilling/AsbCloudServer
CS2-58: Added [FromQuery] to 'companies' param
This commit is contained in:
parent
b39f07821d
commit
0e586edcc5
@ -91,8 +91,8 @@ namespace AsbCloudWebApi.Controllers
|
||||
[ProducesResponseType(typeof(PaginationContainer<FileInfoDto>), (int)System.Net.HttpStatusCode.OK)]
|
||||
public async Task<IActionResult> GetFilesInfoAsync([FromRoute] int idWell,
|
||||
int skip = 0, int take = 32, int idCategory = default,
|
||||
IEnumerable<int> companies = default, DateTime begin = default,
|
||||
DateTime end = default, CancellationToken token = default)
|
||||
DateTime begin = default, DateTime end = default,
|
||||
CancellationToken token = default, [FromQuery] IEnumerable<int> companies = default)
|
||||
{
|
||||
int? idCompany = User.GetCompanyId();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user