5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 23:45:45 +00:00

fix: algo está enviando las opciones como array

This commit is contained in:
f 2023-03-21 14:05:11 -03:00
parent d25937f536
commit 706ff80b18

View file

@ -293,6 +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[:data][:params] ||= {}