diff --git a/src/index.ts b/src/index.ts index d71c7ab..81aa452 100644 --- a/src/index.ts +++ b/src/index.ts @@ -119,8 +119,8 @@ export default class TRAPIQueryHandler { })}`, ); - if (this.options.metakg_ops) { - const metaKG = new MetaKG(undefined, undefined, (this.options as any).metakg_ops); + if (this.options.metakg) { + const metaKG = new MetaKG(undefined, undefined, (this.options as any).metakg); metaKG.filterKG(this.options); return metaKG; }