Skip to content

Commit

Permalink
fix(unlock-js): param is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Jan 23, 2025
1 parent 43e3505 commit b0182ff
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/unlock-js/src/subgraph/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ export class SubgraphService {
graphqlClientOptions?: RequestConfig

constructor(
subgraphServiceParams:
| SubgraphServiceParams
| NetworkConfigs
| string
| undefined
subgraphServiceParams?: SubgraphServiceParams | NetworkConfigs | string
) {
if (!subgraphServiceParams) {
this.networks = networkConfigs
Expand Down

0 comments on commit b0182ff

Please sign in to comment.