From 41fbe54638ee1efff357639c9c5733aa0461098e Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Thu, 20 May 2021 20:35:11 +0100 Subject: [PATCH] minor change --- .gitlab-ci.yml | 2 +- src/nuget-host/Controllers/PackagesController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6070435..f69123e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,5 +49,5 @@ pack: script: - dotnet pack --configuration Release --no-restore - cd src/nuget-cli - - dotnet run push -s $NUGETSOURCE -k "$NUGETSOURCEAPIKEY" ../nuget-host/bin/Release/nuget-host.*.nupkg + - dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../nuget-host/bin/Release/nuget-host.*.nupkg diff --git a/src/nuget-host/Controllers/PackagesController.cs b/src/nuget-host/Controllers/PackagesController.cs index dd1e23a..d7937d8 100644 --- a/src/nuget-host/Controllers/PackagesController.cs +++ b/src/nuget-host/Controllers/PackagesController.cs @@ -53,7 +53,7 @@ namespace nuget_host.Controllers var apikey = dbContext.ApiKeys.SingleOrDefault(k => k.Id == clearkey); if (apikey == null) { - logger.LogInformation("403 : no api-key"); + logger.LogError("403 : no api-key"); return Unauthorized(); }