forked from ddrilling/AsbCloudServer
remove permissions on get requests
This commit is contained in:
parent
85d0aca9a8
commit
af343626a7
@ -45,7 +45,6 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
||||
/// <param name = "token" >Токен завершения задачи</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("{idWell}")]
|
||||
[Permission]
|
||||
public async Task<ActionResult<IEnumerable<WitsRecordDto>>> GetDataAsync([Required] int idWell,
|
||||
[FromQuery] GtrWithGetDataRequest request,
|
||||
CancellationToken token)
|
||||
@ -75,7 +74,6 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
||||
/// <param name="token"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("{idWell}/{idRecord}")]
|
||||
[Permission]
|
||||
public async Task<ActionResult<IEnumerable<WitsItemRecordDto>>> GetLastDataByRecordIdAsync(int idWell, int idRecord, CancellationToken token)
|
||||
{
|
||||
int? idCompany = User.GetCompanyId();
|
||||
|
Loading…
Reference in New Issue
Block a user