• Stan Hu's avatar
    Preserve optional second parameter in NewNoteWorker jobs · 99432cbc
    Stan Hu authored
    If there are any old or retries in the Sidekiq queue, NewNoteWorker
    will fail with the error:
    wrong number of arguments (given 2, expected 1)
    This change allows the optional second argument to be used
    to preserve backwards compatibility. It can be removed later.
    Closes #24678
new_note_worker.rb 487 Bytes