From 9924430afcae8dbfc145d1f32ac0ca3cad94c067 Mon Sep 17 00:00:00 2001 From: Sahil Khatri <158370644+Sahil-2101@users.noreply.github.com> Date: Mon, 28 Apr 2025 21:33:05 +1000 Subject: [PATCH 1/2] Connection String Added --- CommBank-Server/Secrets.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CommBank-Server/Secrets.json b/CommBank-Server/Secrets.json index 0e5bf94..dcc1bc6 100644 --- a/CommBank-Server/Secrets.json +++ b/CommBank-Server/Secrets.json @@ -1,5 +1,5 @@ { "ConnectionStrings": { - "CommBank": "{CONNECTION_STRING}" + "CommBank": "mongodb+srv://khatrisahil21:@vicluster0.9hvcouq.mongodb.net/?retryWrites=true&w=majority&appName=VICluster0" } -} \ No newline at end of file +} From b8eeb21787bce688dcb541cef250540949c3319f Mon Sep 17 00:00:00 2001 From: Sahil Khatri <158370644+Sahil-2101@users.noreply.github.com> Date: Mon, 28 Apr 2025 22:44:51 +1000 Subject: [PATCH 2/2] added icon --- CommBank-Server/Models/Goal.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CommBank-Server/Models/Goal.cs b/CommBank-Server/Models/Goal.cs index 77ff1ad..5510ec4 100644 --- a/CommBank-Server/Models/Goal.cs +++ b/CommBank-Server/Models/Goal.cs @@ -11,6 +11,8 @@ public class Goal public string? Name { get; set; } + public string? Icon { get; set; } + public UInt64 TargetAmount { get; set; } = 0; public DateTime TargetDate { get; set; } @@ -27,4 +29,4 @@ public class Goal [BsonRepresentation(BsonType.ObjectId)] public string? UserId { get; set; } -} \ No newline at end of file +}