Skip to content

Commit a2ab0b3

Browse files
committed
fixed typo in documentation
1 parent 29fb8f2 commit a2ab0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/collection.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ defmodule Mongo.Collection do
137137
@collection nil
138138
139139
collection "cards" do
140-
attribute :title, String.t(), "new title"
140+
attribute :title, String.t(), default: "new title"
141141
end
142142
143143
end

0 commit comments

Comments
 (0)