Skip to content

Commit 0d14e63

Browse files
authored
fix(api): project.loadBuiltinKey (#5051)
Signed-off-by: francois samin <francois.samin@corp.ovh.com>
1 parent 2e48ea2 commit 0d14e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/api/project/dao_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func loadBuiltinKey(db gorp.SqlExecutor, projectID int64) (*sdk.ProjectKey, erro
122122
query := gorpmapping.NewQuery(`
123123
SELECT *
124124
FROM project_key
125-
WHERE id = $1
125+
WHERE project_id = $1
126126
AND builtin = true
127127
AND name = 'builtin'
128128
`).Args(projectID)

0 commit comments

Comments
 (0)