Skip to content
Snippets Groups Projects
Commit 7d6cbe89 authored by Adiv's avatar Adiv
Browse files

fixups

parent 0222b08b
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ public class ProfileDbContext
{
RequestTimeout = TimeSpan.FromSeconds(30)
};
var connectionString = connectionStrings.Value.DbConnectionString;
var connectionString = connectionStrings.Value.DbConnectionString ?? "DbConnectionString";
var client = new CosmosClient(connectionString, clientOptions);
var database = client.GetDatabase("ProfileDb");
_container = database.GetContainer("Profile");
......
......@@ -2,6 +2,6 @@
public class ConnectionStrings
{
public string? DbConnectionString { get; set; }
public string? AzureBlobStorage { get; set; }
public string? DbConnectionString { get; set; } = "";
public string? AzureBlobStorage { get; set; } = "";
}
\ No newline at end of file
......@@ -2,5 +2,5 @@
public class FrontendStrings
{
public string? BaseUrl { get; set; }
public string? BaseUrl { get; set; } = "";
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment