Skip to content

Commit b3f7dec

Browse files
committed
fix: Web2JsonVerifierService - make sure to pass IVerificationServiceConfig to fix error handling
1 parent 9192975 commit b3f7dec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/services/web2-json-verifier.service.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
BackpressureException,
2727
getPreview,
2828
} from '../verification/web-2-json/utils';
29+
import { ChainType } from '../config/configuration';
2930

3031
@Injectable()
3132
export class Web2JsonVerifierService extends BaseVerifierService<
@@ -41,7 +42,10 @@ export class Web2JsonVerifierService extends BaseVerifierService<
4142
private readonly processPool: ProcessPoolService,
4243
@Inject(REQUEST) private readonly req: Request,
4344
) {
44-
super(configService, undefined);
45+
super(configService, {
46+
attestationName: 'Web2Json',
47+
chainType: ChainType.Web2,
48+
});
4549
this.web2JsonConfig = this.configService.get('web2JsonConfig');
4650
}
4751

0 commit comments

Comments
 (0)