Skip to content

Commit 3ad0e91

Browse files
remove unused logger
Signed-off-by: Thomas Poignant <[email protected]>
1 parent b4bc13f commit 3ad0e91

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

libs/providers/go-feature-flag-web/src/lib/controller/goff-api.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { DataCollectorRequest, FeatureEvent, GoFeatureFlagWebProviderOptions } from '../model';
22
import { CollectorError } from '../errors/collector-error';
3-
import { Logger } from '@openfeature/web-sdk';
43

54
export class GoffApiController {
65
// endpoint of your go-feature-flag relay proxy instance
@@ -10,7 +9,7 @@ export class GoffApiController {
109
private readonly timeout: number;
1110
private options: GoFeatureFlagWebProviderOptions;
1211

13-
constructor(options: GoFeatureFlagWebProviderOptions, _?: Logger) {
12+
constructor(options: GoFeatureFlagWebProviderOptions) {
1413
this.endpoint = options.endpoint;
1514
this.timeout = options.apiTimeout ?? 0;
1615
this.options = options;

libs/providers/go-feature-flag-web/src/lib/data-collector-hook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class GoFeatureFlagDataCollectorHook implements Hook {
2525
constructor(options: GoFeatureFlagWebProviderOptions, logger?: Logger) {
2626
this.dataFlushInterval = options.dataFlushInterval || 1000 * 60;
2727
this.logger = logger;
28-
this.goffApiController = new GoffApiController(options, logger);
28+
this.goffApiController = new GoffApiController(options);
2929
}
3030

3131
init() {

0 commit comments

Comments
 (0)