diff --git a/lib/docker-client.ts b/lib/docker-client.ts index fd0b3d0..9976e3b 100644 --- a/lib/docker-client.ts +++ b/lib/docker-client.ts @@ -370,9 +370,7 @@ export class DockerClient { until?: string; filters?: Filter; }): AsyncGenerator { - const response = await this.api.get('/events', APPLICATION_NDJSON, { - params: options, - }); + const response = await this.api.get('/events', APPLICATION_NDJSON, options); yield* jsonMessages(response); }