diff --git a/src/classes/Routes.ts b/src/classes/Routes.ts index d0e54a1..23e3290 100644 --- a/src/classes/Routes.ts +++ b/src/classes/Routes.ts @@ -22,10 +22,10 @@ export default class Routes { #groupChangeCtx: Ctx constructor( - ctx: Ctx, interval: Interval, endpoint: string, logger: Logger, + ctx: Ctx, apiKey?: string ) { this.interval = interval diff --git a/src/experimental.ts b/src/experimental.ts index 6010b0f..2af4eb7 100644 --- a/src/experimental.ts +++ b/src/experimental.ts @@ -16,10 +16,6 @@ import Action from './classes/Action' import { BasicLayout } from './classes/Layout' class ExperimentalInterval extends Interval { - constructor(config: InternalConfig) { - super(config) - } - /* * Handle a serverless host endpoint request. Receives the deserialized request body object. */ diff --git a/src/index.ts b/src/index.ts index 2766721..3fbf325 100644 --- a/src/index.ts +++ b/src/index.ts @@ -160,10 +160,10 @@ export default class Interval { ) this.routes = new Routes( - this.#groupChangeCtx, this, this.#httpEndpoint, this.#logger, + this.#groupChangeCtx, this.#apiKey )