Skip to content

Commit 9bc2779

Browse files
author
Justin Wood
committed
Typo
1 parent 2bbdbc8 commit 9bc2779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mongo_ecto/change.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule Mongo.Ecto.ChangeMap do
2222
Casts to database format
2323
"""
2424
def cast(%__MODULE__{} = value), do: {:ok, value}
25-
def cast(_), do: :eror
25+
def cast(_), do: :error
2626

2727
@doc """
2828
Converts to a database format
@@ -60,7 +60,7 @@ defmodule Mongo.Ecto.ChangeArray do
6060
Casts to database format
6161
"""
6262
def cast(%__MODULE__{} = value), do: {:ok, value}
63-
def cast(_), do: :eror
63+
def cast(_), do: :error
6464

6565
@doc """
6666
Converts to a database format

0 commit comments

Comments
 (0)