Skip to content

Commit

Permalink
Update elasticsearch.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Rorical committed Mar 21, 2024
1 parent 832b6aa commit 1bbcdd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/database/drivers/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (es *ElasticSearch) InsertDocument(ctx context.Context, index string, id st
Index(index).
Id(id).
BodyJson(object).
OpType("index").
Do(ctx)
if err != nil {
return err
Expand Down

0 comments on commit 1bbcdd3

Please sign in to comment.