fix: get author by id query

This commit is contained in:
Frank 2025-11-10 10:51:52 +01:00
parent 83c1a526d3
commit 4e0b269003

View File

@ -223,7 +223,7 @@ namespace Team4
using (var command = conn.CreateCommand())
{
command.CommandText = @"
SELECT author.ID
SELECT *
FROM Authors author
WHERE author.ID = @aid;";
command.Parameters.AddWithValue("@aid", authorID);