fixed a query pulling source
This commit is contained in:
parent
56199a795a
commit
f4e4fbdee2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user