Skip to content

Commit b75cf8e

Browse files
romanrizzixfalcox
andcommitted
update plugins/discourse-ai/db/migrate/20250721080444_seed_personas_from_triage_scripts.rb
Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com>
1 parent c8d7ea4 commit b75cf8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/discourse-ai/db/migrate/20250721080444_seed_personas_from_triage_scripts.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def up
2929
else
3030
name =
3131
(
32-
if field["name"].pesent?
32+
if field["name"].present?
3333
"#{field["name"]} triage automation"
3434
else
3535
"Unnamed triage automation script ID #{field["automation_id"]}"
@@ -47,8 +47,6 @@ def up
4747
end
4848
end
4949

50-
pp automation_to_persona_ids
51-
5250
new_fields =
5351
automation_to_persona_ids
5452
.map do |k, v|

0 commit comments

Comments
 (0)