From aa9268047a9bc116e5efa3a168d7bedf13dba978 Mon Sep 17 00:00:00 2001 From: Joanne ter Maat Date: Thu, 10 Oct 2024 11:58:41 +0200 Subject: [PATCH] don't need named argument --- .../lib/src/extensions/request_information_extensions.dart | 2 +- packages/kiota_abstractions/lib/src/request_configuration.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart b/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart index cbf030d..df6f545 100644 --- a/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart +++ b/packages/kiota_abstractions/lib/src/extensions/request_information_extensions.dart @@ -142,7 +142,7 @@ extension RequestInformationExtensions on RequestInformation { return; } - final config = RequestConfiguration(HttpHeaders(), [], queryParameters: createParameters()); + final config = RequestConfiguration(HttpHeaders(), [], createParameters()); configurator(config); addQueryParameters(config.queryParameters.getQueryParameters()); diff --git a/packages/kiota_abstractions/lib/src/request_configuration.dart b/packages/kiota_abstractions/lib/src/request_configuration.dart index a6eb729..6d9f2fc 100644 --- a/packages/kiota_abstractions/lib/src/request_configuration.dart +++ b/packages/kiota_abstractions/lib/src/request_configuration.dart @@ -3,7 +3,7 @@ part of '../kiota_abstractions.dart'; /// Request configuration type for [BaseRequestBuilder]s. class RequestConfiguration { - const RequestConfiguration(this.headers, this.options, {required this.queryParameters}); + const RequestConfiguration(this.headers, this.options, this.queryParameters); /// The HTTP headers of the request. final HttpHeaders headers;