260707_02_ENH: apikey 오류 수정
This commit is contained in:
@@ -50,10 +50,10 @@ namespace REPORT_API_ver6.Controllers
|
||||
)
|
||||
{
|
||||
var configuration = Common.GetConfiguration();
|
||||
var value = configuration.GetSection("X-API-Key")[xApiKey ?? ""];
|
||||
var apikey = configuration.GetSection("X-API-Key")[xApiKey ?? ""];
|
||||
UserInfo? userInfo = String.IsNullOrEmpty(token)? null : Security.ValidateToken(token);
|
||||
|
||||
if (userInfo != null || !String.IsNullOrEmpty(value))
|
||||
if (userInfo != null || !String.IsNullOrEmpty(apikey))
|
||||
{
|
||||
intranetCd = intranetCd.Split("_")[0];
|
||||
Project project = new Project();
|
||||
|
||||
Reference in New Issue
Block a user