all: fix typos (#869)

Grammar issues in docs, comments, and error messages.
This commit is contained in:
Oleksandr Redko 2026-03-30 19:43:01 +03:00 • committed by GitHub
commit b71a8391a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -641,7 +641,7 @@ func (c *Client) elicit(ctx context.Context, req *ElicitRequest) (*ElicitResult,
}
err = resolved.ApplyDefaults(&res.Content)
if err != nil {
return nil, &jsonrpc.Error{Code: jsonrpc.CodeInvalidParams, Message: fmt.Sprintf("failed to apply schema defalts to elicitation result: %v", err)}
return nil, &jsonrpc.Error{Code: jsonrpc.CodeInvalidParams, Message: fmt.Sprintf("failed to apply schema defaults to elicitation result: %v", err)}
}
}
return res, nil