fix an issue with emails not being able to be sent

This commit is contained in:
2024-06-16 11:27:05 -04:00
parent 70701a27d3
commit b963baa49d
4 changed files with 5 additions and 7 deletions

View File

@ -48,9 +48,6 @@ defmodule Cannery.Fixtures do
def extract_user_token(fun) do
%{args: %{attrs: attrs, email: email_key, user_id: user_id}} = fun.(&"[TOKEN]#{&1}[TOKEN]")
# convert atoms to string keys
attrs = attrs |> Map.new(fn {atom_key, value} -> {atom_key |> Atom.to_string(), value} end)
email =
email_key
|> Atom.to_string()