Skip to content

Commit 1656599

Browse files
committed
Apply dojo' id in dojos:update_db_by_yaml
1 parent c724d28 commit 1656599

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tasks/dojos.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace :dojos do
2929
dojos.each do |dojo|
3030
d = Dojo.find_by(name: dojo['name']) || Dojo.new
3131

32+
d.id = dojo['id']
3233
d.name = dojo['name']
3334
d.email = ''
3435
d.order = dojo['order']

0 commit comments

Comments
 (0)