diff --git a/CommBank-Server/Models/Goal.cs b/CommBank-Server/Models/Goal.cs index 77ff1ad5..d2a9acce 100644 --- a/CommBank-Server/Models/Goal.cs +++ b/CommBank-Server/Models/Goal.cs @@ -7,6 +7,7 @@ public class Goal { [BsonId] [BsonRepresentation(BsonType.ObjectId)] + public string? Id { get; set; } public string? Name { get; set; } @@ -27,4 +28,7 @@ public class Goal [BsonRepresentation(BsonType.ObjectId)] public string? UserId { get; set; } + + [BsonElement("icon")] + public string? Icon { get; set; } } \ No newline at end of file diff --git a/CommBank-Server/Secrets.json b/CommBank-Server/Secrets.json index 0e5bf949..57be8913 100644 --- a/CommBank-Server/Secrets.json +++ b/CommBank-Server/Secrets.json @@ -1,5 +1,5 @@ { "ConnectionStrings": { - "CommBank": "{CONNECTION_STRING}" + "CommBank": "mongodb+srv://muneebfarooq615_db_user:QDJiWiMg0Guebmhj@cluster0.2xnkhfq.mongodb.net/?appName=Cluster0" } } \ No newline at end of file