Skip to content

Commit

Permalink
fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliohome authored Oct 2, 2023
1 parent 7327c23 commit ebf9293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
builder.Services.AddScoped<ListsRepository>();
builder.Services.AddDbContext<TodoDb>(options =>
{
var connectionString = builder.Configuration["AZURE-SQL-CONNECTION-STRING_KEY"];
var connectionString = builder.Configuration["AZURE-SQL-CONNECTION-STRING-KEY"];
options.UseSqlServer(connectionString, sqlOptions => sqlOptions.EnableRetryOnFailure());
});

Expand Down

0 comments on commit ebf9293

Please sign in to comment.