Skip to content

Commit

Permalink
fix(clients): use correct user agent (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4103

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
algolia-bot and millotp committed Nov 14, 2024
1 parent fb1bc46 commit 6088025
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ final class EchoRequestBuilder: RequestBuilder {
originalBodyData: urlRequest.httpBody,
path: urlComponents?.percentEncodedPath ?? "",
host: url.host ?? "",
algoliaAgent: headers["X-Algolia-Agent"] ?? "",
algoliaAgent: headers["User-Agent"] ?? "",
queryParameters: queryParameters,
headers: headers
)
Expand Down

0 comments on commit 6088025

Please sign in to comment.