Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Fixed Database Name
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingBrandonL committed Apr 22, 2024
1 parent fcef5e7 commit 4b934d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/TagMechanismService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public async Task<IReadOnlyList<TagMechanism>> 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());
Expand Down

0 comments on commit 4b934d8

Please sign in to comment.