Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
IEvangelist committed Jun 3, 2023
1 parent 1a0ec83 commit 83d642b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Azure.OpenAI/Server/Program.Build.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) David Pine. All rights reserved.
// Licensed under the MIT License.

public static partial class Program
public partial class Program
{
internal static WebApplication BuildApp(this WebApplicationBuilder builder)
internal static WebApplication BuildApp(WebApplicationBuilder builder)
{
builder.Services.AddAzureOpenAI(builder.Configuration);

Expand Down
4 changes: 2 additions & 2 deletions Azure.OpenAI/Server/Program.Configure.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) David Pine. All rights reserved.
// Licensed under the MIT License.

public static partial class Program
public partial class Program
{
internal static void ConfigureApp(this WebApplication app)
internal static void ConfigureApp(WebApplication app)
{
if (app.Environment.IsDevelopment())
{
Expand Down
4 changes: 2 additions & 2 deletions Azure.OpenAI/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

var builder = WebApplication.CreateBuilder(args);

using var app = builder.BuildApp();
using var app = BuildApp(builder);

app.ConfigureApp();
ConfigureApp(app);

await app.RunAsync();

0 comments on commit 83d642b

Please sign in to comment.