fix: list IDPs on Org (#3141)

* fix: idp query

* fix: remove failed events
This commit is contained in:
Livio Amstutz
2022-02-01 08:32:59 +01:00
committed by GitHub
parent 694af4bebc
commit bf6cb59b87
3 changed files with 15 additions and 8 deletions

View File

@@ -76,7 +76,9 @@ func (q *Queries) RemoveFailedEvent(ctx context.Context, projectionName string,
Where(sq.Eq{
failedEventsColumnProjectionName: projectionName,
failedEventsColumnFailedSequence: sequence,
}).ToSql()
}).
PlaceholderFormat(sq.Dollar).
ToSql()
if err != nil {
return errors.ThrowInternal(err, "QUERY-DGgh3", "Errors.RemoveFailed")
}