mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
Remove limit while fetching sams account ids (#61015)
Remove limit=1 while fetching SAMS account IDs
This commit is contained in:
parent
7e286bdfeb
commit
c549dbd92f
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user