From c549dbd92f096bece947b352e4a08d169f3a1ef4 Mon Sep 17 00:00:00 2001 From: Naman Kumar Date: Tue, 12 Mar 2024 17:01:30 +0530 Subject: [PATCH] Remove limit while fetching sams account ids (#61015) Remove limit=1 while fetching SAMS account IDs --- internal/cody/subscription.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/cody/subscription.go b/internal/cody/subscription.go index b936387d165..8a09c4b6152 100644 --- a/internal/cody/subscription.go +++ b/internal/cody/subscription.go @@ -96,9 +96,6 @@ func getSAMSAccountIDsForUser(ctx context.Context, db database.DB, dotcomUserID UserID: dotcomUserID, ServiceType: "openidconnect", ServiceID: fmt.Sprintf("https://%s", ssc.GetSAMSHostName()), - LimitOffset: &database.LimitOffset{ - Limit: 1, - }, }) if err != nil { return []string{}, errors.Wrap(err, "listing external accounts")