mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-24 17:01:00 +00:00
Use __MODULE__
This commit is contained in:
parent
e873619a66
commit
1960343cba
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ defmodule LiveBeats.MediaLibrary do
|
|||
defdelegate paused?(song), to: Song
|
||||
|
||||
def attach do
|
||||
LiveBeats.attach(LiveBeats.MediaLibrary, to: {Accounts, Accounts.Events.PublicSettingsChanged})
|
||||
LiveBeats.attach(__MODULE__, to: {Accounts, Accounts.Events.PublicSettingsChanged})
|
||||
end
|
||||
|
||||
def handle_execute({Accounts, %Accounts.Events.PublicSettingsChanged{user: user}}) do
|
||||
|
|
Loading…
Reference in a new issue