Skip to content

Commit c12585e

Browse files
fix(app): incorrect number of bindings for query
1 parent b39774a commit c12585e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/app/services/workflow_records/workflow_records_sqlite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def get_many(
190190
query_condition = "(name LIKE ? OR description LIKE ? OR tags LIKE ?)"
191191

192192
conditions.append(query_condition)
193-
params.extend([wildcard_query])
193+
params.extend([wildcard_query, wildcard_query, wildcard_query])
194194

195195
if conditions:
196196
# If there are conditions, add a WHERE clause and then join the conditions

0 commit comments

Comments
 (0)