-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return email sent in LocalAdapter with an open_email_in_browser_url c…
…onfig (#590) Commit 6dae907 fixed an issue where the LocalAdapter.deliver function wasn't returning an `{:ok, any}` response. This commit improves upon that by returning the `email` returned from `SentEmail.push(email)` as the second argument in `{:ok, any}` -> `{:ok, email}`. It also adds a test ensuring that we're correctly returning an `{:ok, _}` tuple from the `LocalAdapter.deliver` function.
- Loading branch information
1 parent
6dae907
commit 69d48e8
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters