Skip to content

Commit

Permalink
fix: user config should be set on this.config
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Sep 14, 2023
1 parent d7e6385 commit f0bf463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/heliaRemotePinner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class HeliaRemotePinner {
private readonly config: Pick<Required<HeliaRemotePinnerConfig>, 'mergeOrigins' | 'retryOptions'> & HeliaRemotePinnerConfig
constructor (private readonly heliaInstance: Helia, private readonly remotePinningClient: RemotePinningServiceClient, config?: HeliaRemotePinnerConfig) {
this.config = {
...config,
mergeOrigins: config?.mergeOrigins ?? false,
retryOptions: {
retries: 10,
Expand Down

0 comments on commit f0bf463

Please sign in to comment.