Skip to content

Commit

Permalink
Add missing JSON aliases for delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Jan 4, 2025
1 parent 7113cfb commit 064570c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/oban/telemetry.ex
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ defmodule Oban.Telemetry do
"""
@moduledoc since: "0.4.0"

alias Oban.JSON

require Logger

@typedoc """
Expand Down
2 changes: 1 addition & 1 deletion lib/oban/testing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ defmodule Oban.Testing do

alias Ecto.Changeset

alias Oban.{Config, Job, Queue.Executor, Repo, Worker}
alias Oban.{Config, Job, JSON, Queue.Executor, Repo, Worker}

@type perform_opts :: Job.option() | Oban.option()

Expand Down

0 comments on commit 064570c

Please sign in to comment.