Remove limit while fetching sams account ids (#61015)

Remove limit=1 while fetching SAMS account IDs
This commit is contained in:
Naman Kumar 2024-03-12 17:01:30 +05:30 committed by GitHub
parent 7e286bdfeb
commit c549dbd92f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")