Skip to content
Snippets Groups Projects
Commit e8c7fee7 authored by Adiv Asif's avatar Adiv Asif
Browse files

Merged PR 27: fixups

fixups
parents b8f2ed66 7d6cbe89
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