mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 08:11:42 +00:00
fix: solo permitimos un hash de opciones
This commit is contained in:
parent
706ff80b18
commit
1230dc2e96
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ class GitlabNotifierJob < ApplicationJob
|
|||
# @param :options [Hash]
|
||||
# @return [Hash]
|
||||
def fix_options(options)
|
||||
options = { data: options } if options.is_a? Array
|
||||
options = { data: options } unless options.is_a? Hash
|
||||
options[:data] ||= {}
|
||||
options[:data][:params] ||= {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue