fix(visitor): log added schemas correctly
This commit is contained in:
parent
05f3f2f315
commit
29e9462ca9
|
@ -64,10 +64,10 @@ export class VisitorContext implements VisitorContextOptions, VisitorResult {
|
|||
}
|
||||
|
||||
public addSchema(name: string, schema: any): void {
|
||||
this.logger.debug('adding ajv schema', {
|
||||
this.logger.debug({
|
||||
name,
|
||||
schema,
|
||||
});
|
||||
}, 'adding ajv schema');
|
||||
|
||||
this.ajv.addSchema({
|
||||
$id: name,
|
||||
|
|
Loading…
Reference in New Issue