Skip to content

Commit

Permalink
fix: setting name of the client as the clientName for @podium/http-cl…
Browse files Browse the repository at this point in the history
…ient
  • Loading branch information
leftieFriele committed Jan 13, 2025
1 parent 4256b0d commit 65c3cb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Cache from './resolver.cache.js';

/**
* @typedef {object} PodletClientResolverOptions
* @property {string} name - the name of the resource
* @property {string} clientName
* @property {import('abslog').AbstractLoggerOptions} [logger]
* @property {boolean} [earlyHints]
Expand All @@ -35,7 +36,7 @@ export default class PodletClientResolver {

const log = abslog(options.logger);
const httpClient = new HttpClient({
clientName: options.clientName,
clientName: options.name,
logger: options.logger,
});
this.#cache = new Cache(registry, options);
Expand Down

0 comments on commit 65c3cb3

Please sign in to comment.