Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -S deps,doc`
  • Loading branch information
kianmeng committed Aug 13, 2023
1 parent 5413195 commit d9af376
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 d9af376

Please sign in to comment.