minor change

broken/ef
Paul Schneider 3 years ago
parent d80271dcbf
commit 41fbe54638
2 changed files with 2 additions and 2 deletions

@ -49,5 +49,5 @@ pack:
script: script:
- dotnet pack --configuration Release --no-restore - dotnet pack --configuration Release --no-restore
- cd src/nuget-cli - 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

@ -53,7 +53,7 @@ namespace nuget_host.Controllers
var apikey = dbContext.ApiKeys.SingleOrDefault(k => k.Id == clearkey); var apikey = dbContext.ApiKeys.SingleOrDefault(k => k.Id == clearkey);
if (apikey == null) if (apikey == null)
{ {
logger.LogInformation("403 : no api-key"); logger.LogError("403 : no api-key");
return Unauthorized(); return Unauthorized();
} }

Loading…