Preserve optional second parameter in NewNoteWorker jobs
If there are any old or retries in the Sidekiq queue, NewNoteWorkerwill 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 (closed)