diff options
author | Jordan Bracco <href@random.sh> | 2025-06-25 19:22:59 +0200 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2025-06-25 19:22:59 +0200 |
commit | c934e79e5852e05f714b2d542cc2678e287c49b8 (patch) | |
tree | 55779a0168260fce03e4775eacdd613ffc945588 /lib/nola/icecast_agent.ex | |
parent | updates (diff) |
format.
Diffstat (limited to 'lib/nola/icecast_agent.ex')
-rw-r--r-- | lib/nola/icecast_agent.ex | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/nola/icecast_agent.ex b/lib/nola/icecast_agent.ex index 8a3a72b..563b372 100644 --- a/lib/nola/icecast_agent.ex +++ b/lib/nola/icecast_agent.ex @@ -6,12 +6,10 @@ defmodule Nola.IcecastAgent do end def update(stats) do - Agent.update(__MODULE__, fn(_old) -> stats end) + Agent.update(__MODULE__, fn _old -> stats end) end def get do - Agent.get(__MODULE__, fn(stats) -> stats end) + Agent.get(__MODULE__, fn stats -> stats end) end - end - |