diff options
author | Jordan Bracco <href@random.sh> | 2022-12-11 01:09:51 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-11 02:03:36 +0000 |
commit | 320f70d6450f9dcac44c9388c087e5d510eda5f8 (patch) | |
tree | 678c221f8638c5aaaf9c01b7b1b3b62c81d76c9a /lib/irc/account.ex | |
parent | fix: alcoolog: time fixes (diff) |
feat: derive Poison for IRC.{Account, Message}
Diffstat (limited to '')
-rw-r--r-- | lib/irc/account.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/irc/account.ex b/lib/irc/account.ex index c835d55..56019df 100644 --- a/lib/irc/account.ex +++ b/lib/irc/account.ex @@ -18,6 +18,7 @@ defmodule IRC.Account do # FIXME: Ensure uniqueness of name? + @derive {Poison.Encoder, except: [:token]} defstruct [:id, :name, :token] @type t :: %__MODULE__{id: id(), name: String.t()} @type id :: String.t() |