Skip to content

Commit

Permalink
Add missing slash to synonyms endpoint (#3116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippus authored Jul 15, 2024
1 parent 1bfaa1a commit 224d45c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trait SynonymsHandlers {
}

override def build(request: CreateOrUpdateSynonymsSetRequest): ElasticRequest = {
val endpoint = s"_synonyms/${request.synonymsSet}"
val endpoint = s"/_synonyms/${request.synonymsSet}"

val body = UpdateSynonymsBodyFn(request).string
val entity = HttpEntity(body, "application/json")
Expand Down

0 comments on commit 224d45c

Please sign in to comment.