From ba18a9d7b59124db9bd021d767c10974c0393e38 Mon Sep 17 00:00:00 2001 From: Cinder Date: Wed, 18 Dec 2024 07:21:05 -0800 Subject: [PATCH] [Seeding] Always enable mascots (#826) --- db/seeds.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 4587c56f9..9c1da3e51 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -38,7 +38,7 @@ def api_request(path) end def import_mascots - api_request("/mascots.json?limit=1").each do |mascot| + api_request("/mascots.json?limit=3").each do |mascot| puts mascot["url_path"] Mascot.create!( creator: CurrentUser.user, @@ -48,7 +48,7 @@ def import_mascots artist_url: mascot["artist_url"], artist_name: mascot["artist_name"], available_on_string: Danbooru.config.app_name, - active: mascot["active"], + active: true, ) end end