fix: actions (#2547)

* fix: external login

* fix: query flow types correct

* fix: queries of action statements

Co-authored-by: fabi <[email protected]>
This commit is contained in:
Livio Amstutz
2021-10-21 14:30:09 +02:00
committed by GitHub
co-authored by fabi
parent b204ad2aca
commit b0bcefd202
3 changed files with 7 additions and 13 deletions
+1 -3
View File
@@ -114,9 +114,7 @@ func (q *Queries) GetActionByID(ctx context.Context, id string, orgID string) (*
stmt, scan := prepareActionQuery()
query, args, err := stmt.Where(
sq.Eq{
ActionColumnID.identifier(): id,
},
sq.Eq{
ActionColumnID.identifier(): id,
ActionColumnResourceOwner.identifier(): orgID,
}).ToSql()
if err != nil {