refactor(consumer.json): umbenannt in consumer-api.json
This commit is contained in:
parent
34b939f75a
commit
404ab74ce1
@ -4,7 +4,7 @@ var builder = WebApplication.CreateBuilder(args);
|
|||||||
|
|
||||||
var config = builder.Configuration;
|
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.");
|
var apiParams = config.Get<AuthApiParams>() ?? throw new InvalidOperationException("AuthApiOptions is missing or invalid in appsettings.");
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"Consumers": [
|
"ConsumerAPIs": [
|
||||||
{
|
{
|
||||||
"Name": "WorkFlow.API",
|
"Name": "WorkFlow.API",
|
||||||
"Password": "t3B|aiJ'i-snLzNRj3B{9=&:lM5P@'i<>L"
|
"Password": "t3B|aiJ'i-snLzNRj3B{9=&:lM5P@'i<>L"
|
||||||
Loading…
x
Reference in New Issue
Block a user