refactor(consumer.json): umbenannt in consumer-api.json

This commit is contained in:
Developer 02 2025-01-15 09:45:47 +01:00
parent 34b939f75a
commit 404ab74ce1
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ var builder = WebApplication.CreateBuilder(args);
var config = builder.Configuration;
builder.Configuration.AddJsonFile("consumers.json", true, true);
builder.Configuration.AddJsonFile("consumer-api.json", true, true);
var apiParams = config.Get<AuthApiParams>() ?? throw new InvalidOperationException("AuthApiOptions is missing or invalid in appsettings.");

View File

@ -1,5 +1,5 @@
{
"Consumers": [
"ConsumerAPIs": [
{
"Name": "WorkFlow.API",
"Password": "t3B|aiJ'i-snLzNRj3B{9=&:lM5P@'i<>L"