Created
July 10, 2020 21:50
-
-
Save noelworden/1f16071add4113168ce9d3d883841681 to your computer and use it in GitHub Desktop.
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
def create!(attrs) do | |
%{attrs | message_opts: Map.new(attrs.message_opts)} | |
|> SourceFileError.changeset() | |
|> Repo.insert!() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment