diff --git a/api/ApiMethodFactory.ts b/api/ApiMethodFactory.ts index 4ab4960..37d5c32 100644 --- a/api/ApiMethodFactory.ts +++ b/api/ApiMethodFactory.ts @@ -7,7 +7,7 @@ import HttpMethod from './HttpMethod' class ApiMethodFactory { private readonly apiPrefix: string - constructor(apiPrefix: string) { + constructor({ apiPrefix }: { apiPrefix: string }) { this.apiPrefix = apiPrefix }