Skip to content

Commit 975833f

Browse files
committed
updated configuration
1 parent 2fcec1c commit 975833f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/deploy-inventory.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
with:
1515
app_name: ccc-eu-fusion-demo-inventory-api
1616
project_path: src/SourceSchemas/Inventory
17-
container_port: 8080
17+
container_port: 8081
1818
schema_file: src/SourceSchemas/Inventory/schema.graphqls
1919
secrets: inherit

src/SourceSchemas/Accounts/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
builder.Services.AddCors();
88

99
builder
10-
.AddGraphQL(Env.AccountsApi)
10+
.AddGraphQL(Env.AccountsApi, disableDefaultSecurity: true)
1111
.AddDefaultSettings()
1212
.AddAccountTypes()
1313
.InitializeOnStartup(AccountContext.SeedDataAsync, skipIf: args.IsGraphQLCommand());

src/SourceSchemas/Inventory/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
builder.Services.AddCors();
88

99
builder
10-
.AddGraphQL(Env.InventoryApi)
10+
.AddGraphQL(Env.InventoryApi, disableDefaultSecurity: true)
1111
.AddDefaultSettings()
1212
.AddInventoryTypes()
13-
.InitializeOnStartup(InventoryContext.SeedDataAsync);
13+
.InitializeOnStartup(InventoryContext.SeedDataAsync, skipIf: args.IsGraphQLCommand());
1414

1515
var app = builder.Build();
1616

0 commit comments

Comments
 (0)