Skip to content

Commit ea7f594

Browse files
authored
Merge pull request #108 from nmingazov/optional-hit-type
Make Hit type optional
2 parents 552135d + 19c1d5d commit ea7f594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/snap/responses/hit.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule Snap.Hit do
3232

3333
@type t :: %__MODULE__{
3434
index: String.t(),
35-
type: String.t(),
35+
type: String.t() | nil,
3636
id: String.t(),
3737
score: float() | nil,
3838
source: map() | nil,

0 commit comments

Comments
 (0)