Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit c23998f

Browse files
authored
Fixing typo (#933)
1 parent 3b7cce6 commit c23998f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

quesma/quesma/router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func configureRouter(cfg *config.QuesmaConfiguration, sr schema.Registry, lm *cl
239239
})
240240

241241
router.Register(routes.AsyncSearchIdPath, and(method("DELETE"), matchedAgainstAsyncId()), func(ctx context.Context, req *mux.Request) (*mux.Result, error) {
242-
responseBody, err := queryRunner.deleteAsyncSeach(req.Params["id"])
242+
responseBody, err := queryRunner.deleteAsyncSearch(req.Params["id"])
243243
if err != nil {
244244
return nil, err
245245
}

quesma/quesma/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ func (q *QueryRunner) handlePartialAsyncSearch(ctx context.Context, id string) (
534534
}
535535
}
536536

537-
func (q *QueryRunner) deleteAsyncSeach(id string) ([]byte, error) {
537+
func (q *QueryRunner) deleteAsyncSearch(id string) ([]byte, error) {
538538
if !strings.Contains(id, tracing.AsyncIdPrefix) {
539539
return nil, errors.New("invalid quesma async search id : " + id)
540540
}

0 commit comments

Comments
 (0)