Skip to content

Commit

Permalink
Update from AI
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Jul 24, 2024
1 parent a6bb37c commit cb88e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/Helper/Elasticsearch.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ initES = do
return $ mkBHEnv server manager

-- Index a news item in Elasticsearch
indexNews :: (?modelContext :: ModelContext, ?context :: ControllerContext) => News -> IO (Either BHError IndexResponse)
indexNews :: (?modelContext :: ModelContext, ?context :: ControllerContext) => News -> IO (Either BHError Value)
indexNews news = do
bhenv <- initES
let indexName = IndexName "news_index"
Expand Down

0 comments on commit cb88e30

Please sign in to comment.