fixed a query pulling source

This commit is contained in:
James Tombleson 2024-07-17 22:00:57 -07:00
parent 56199a795a
commit f4e4fbdee2

View File

@ -121,7 +121,7 @@ func (r sourceRepository) GetBySourceAndName(ctx context.Context, source, name s
b.Select("*")
b.From("Sources").Where(
b.Equal("Source", source),
b.Equal("Name", name),
b.Equal("DisplayName", name),
)
b.Limit(1)
query, args := b.Build()