From 307c0fc40282f827cbbdb48ca70c4ade54b30e80 Mon Sep 17 00:00:00 2001 From: Priya Date: Sun, 21 Jun 2026 18:55:51 +0530 Subject: [PATCH 1/2] Add optional Icon field to Goal model --- CommBank-Server/CommBank.csproj | 2 +- CommBank-Server/Models/Goal.cs | 4 +++- CommBank-Server/Secrets.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CommBank-Server/CommBank.csproj b/CommBank-Server/CommBank.csproj index 983cc882..5d76d035 100644 --- a/CommBank-Server/CommBank.csproj +++ b/CommBank-Server/CommBank.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable CommBank_Server diff --git a/CommBank-Server/Models/Goal.cs b/CommBank-Server/Models/Goal.cs index 77ff1ad5..ba11fbed 100644 --- a/CommBank-Server/Models/Goal.cs +++ b/CommBank-Server/Models/Goal.cs @@ -10,7 +10,9 @@ public class Goal public string? Id { get; set; } public string? Name { get; set; } - + + public string? Icon { get; set; } + public UInt64 TargetAmount { get; set; } = 0; public DateTime TargetDate { get; set; } diff --git a/CommBank-Server/Secrets.json b/CommBank-Server/Secrets.json index 0e5bf949..775253ac 100644 --- a/CommBank-Server/Secrets.json +++ b/CommBank-Server/Secrets.json @@ -1,5 +1,5 @@ { "ConnectionStrings": { - "CommBank": "{CONNECTION_STRING}" + "CommBank": "mongodb+srv://anshu:tl3NJjzzNypUcoRw@cluster0.wfqzacv.mongodb.net/CommBank?retryWrites=true&w=majority" } } \ No newline at end of file From 35726d1aaff1fa44c98bdab0b21f862ed42801e9 Mon Sep 17 00:00:00 2001 From: Priya Date: Mon, 22 Jun 2026 14:31:51 +0530 Subject: [PATCH 2/2] Update test project target framework to net8.0 --- CommBank.Tests/CommBank.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommBank.Tests/CommBank.Tests.csproj b/CommBank.Tests/CommBank.Tests.csproj index 4d9413f4..3da571e3 100644 --- a/CommBank.Tests/CommBank.Tests.csproj +++ b/CommBank.Tests/CommBank.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable