From 8bdf86bbadb943aa765689a74bdb92ec065ea151 Mon Sep 17 00:00:00 2001 From: Keepers Date: Thu, 15 Feb 2024 10:25:49 -0700 Subject: [PATCH] apply missing opts to api client (#5233) #### Does this PR need a docs update or release note? - [x] :no_entry: No #### Type of change - [x] :bug: Bugfix #### Test Plan - [x] :zap: Unit test - [x] :green_heart: E2E --- src/pkg/services/m365/m365.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pkg/services/m365/m365.go b/src/pkg/services/m365/m365.go index 372bca816..bf25872f3 100644 --- a/src/pkg/services/m365/m365.go +++ b/src/pkg/services/m365/m365.go @@ -55,7 +55,8 @@ func makeAC( cli, err := api.NewClient( creds, control.DefaultOptions(), - count.New()) + count.New(), + opts...) if err != nil { return api.Client{}, clues.WrapWC(ctx, err, "constructing api client") }