This commit is contained in:
ngfrolov 2022-11-02 08:56:08 +05:00
parent 0d9f8b1819
commit c38730b7aa
2 changed files with 1 additions and 8 deletions

View File

@ -1,13 +1,7 @@
using AsbCloudApp.Data;
using DocumentFormat.OpenXml.Drawing.Charts;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Org.BouncyCastle.Asn1.Pkcs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Xunit;

View File

@ -45,7 +45,6 @@ namespace AsbCloudWebApi.Middlewares
bool isAuthorized;
if (idUser == 1)
isAuthorized = true;
else
{
var permissionName = permission.Name;