Skip to content

Commit

Permalink
remove useless check for job_class
Browse files Browse the repository at this point in the history
  • Loading branch information
prog-supdex committed Sep 28, 2023
1 parent 3cdb16a commit f7033db
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/graphql/adapters/active_job_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ def trigger(...)
private

def executor_class_job
custom_job_class = config.job_class

return Jobs::TriggerJob unless custom_job_class

custom_job_class.constantize
config.job_class.constantize
end

def config
Expand Down

0 comments on commit f7033db

Please sign in to comment.