1
0
Fork 0

fix(visitor): log added schemas correctly

This commit is contained in:
ssube 2019-11-02 09:52:57 -05:00 committed by Sean Sube
parent 05f3f2f315
commit 29e9462ca9
1 changed files with 2 additions and 2 deletions

View File

@ -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,