Skip to content

Commit

Permalink
refactor(service): rename create sample data service
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Nov 26, 2024
1 parent 7d6855d commit b8d7ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/jobs/reset_for_demo_mode_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def reset_jobs

def init_demo_data
user = CreateAdminService.new.call
CreateSampleAppsService.new.call(user)
CreateSampleDataService.new.call(user)
end

def demo_mode?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'securerandom'

class CreateSampleAppsService # rubocop:disable Metrics/ClassLength
class CreateSampleDataService # rubocop:disable Metrics/ClassLength
RELEASE_COUNT = 3

def call(user)
Expand Down

0 comments on commit b8d7ce4

Please sign in to comment.