Skip to content

Commit

Permalink
Merge pull request #2 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
jaeyson authored Aug 13, 2023
2 parents 5413195 + d9af376 commit 0f3e5eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ex_typesense.ex
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ defmodule ExTypesense do
defdelegate upsert_document(document), to: ExTypesense.Document
defdelegate index_multiple_documents(documents), to: ExTypesense.Document
defdelegate update_multiple_documents(documents), to: ExTypesense.Document
defdelegate upsert_multiple_documents(docuemnts), to: ExTypesense.Document
defdelegate upsert_multiple_documents(documents), to: ExTypesense.Document

# search
defdelegate search(collection_name, params), to: ExTypesense.Search
Expand Down
2 changes: 1 addition & 1 deletion test/document_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ defmodule DocumentTest do
end

test "success: adding unknown field", %{document: document} do
document = Map.put(document, :unknown_field, "unkown_value")
document = Map.put(document, :unknown_field, "unknown_value")
{:ok, collection} = ExTypesense.create_document(document)
assert Map.has_key?(collection, "unknown_field")
end
Expand Down

0 comments on commit 0f3e5eb

Please sign in to comment.