DEV: Fix typo. (#15857)

This commit is contained in:
Alan Guo Xiang Tan 2022-02-08 09:04:53 +08:00 committed by GitHub
parent eadf618752
commit 6f03b2694d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ module Jobs
# Simulate the args being dumped/parsed through JSON
parsed_opts = JSON.parse(JSON.dump(opts))
if opts != parsed_opts
Discourse.deprecate(<<~MSG.squish, since: "v2.9", drop_from: "3.0")
Discourse.deprecate(<<~MSG.squish, since: "2.9", drop_from: "3.0")
#{klass.name} was enqueued with argument values which do not cleanly serialize to/from JSON.
This means that the job will be run with slightly different values than the ones supplied to `enqueue`.
Argument values should be strings, booleans, numbers, or nil (or arrays/hashes of those value types).