Skip to content

Commit

Permalink
Merge pull request #9 from bluecodecom/pr/deprecation_warning
Browse files Browse the repository at this point in the history
fix deprecation warning
  • Loading branch information
predrag-rakic authored Mar 1, 2021
2 parents 710e97a + f4604e7 commit 551bff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mixpanel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ defmodule Mixpanel do

def init(config) do
children = [
worker(Mixpanel.Client, [config, [name: get_process_name()]])
{Mixpanel.Client, [config, [name: get_process_name()]]}
]

Supervisor.init(children, strategy: :one_for_one)
Expand Down

0 comments on commit 551bff0

Please sign in to comment.