From 4b934d8cc96e48c1fd6d98f0e2e268b77c4c2abe Mon Sep 17 00:00:00 2001 From: Brandon Longuet <37945524+AmazingBrandonL@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:18:37 -0500 Subject: [PATCH] Fixed Database Name --- Services/TagMechanismService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/TagMechanismService.cs b/Services/TagMechanismService.cs index 9915e49..efca9a3 100644 --- a/Services/TagMechanismService.cs +++ b/Services/TagMechanismService.cs @@ -34,7 +34,7 @@ public async Task> GetTagsAsync(Guid family_uuid) using var connection = await database.OpenConnectionAsync(); using var command = connection.CreateCommand(); - command.CommandText = @"SELECT TagMechanism.uuid, TagMechanism.tag, TagMechanism.isDel FROM Family_Mechanism_List LEFT JOIN TagMechanism ON tag_mechanism_uuid = TagMechanism.uuid WHERE family_uuid = @family_uuid AND TagMechanism.isDel = False"; + command.CommandText = @"SELECT TagMechanism.uuid, TagMechanism.tag, TagMechanism.isDel FROM Family_TagMechanism_List LEFT JOIN TagMechanism ON tag_mechanism_uuid = TagMechanism.uuid WHERE family_uuid = @family_uuid AND TagMechanism.isDel = False"; command.Parameters.AddWithValue("@family_uuid", family_uuid); return await ReadAllAsync(await command.ExecuteReaderAsync());