mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: although unfortunate, it is possible for a user to be in no orgs (#13956)
This commit is contained in:
@@ -3006,9 +3006,6 @@ func (q *FakeQuerier) GetOrganizationIDsByMemberIDs(_ context.Context, ids []uui
|
||||
OrganizationIDs: userOrganizationIDs,
|
||||
})
|
||||
}
|
||||
if len(getOrganizationIDsByMemberIDRows) == 0 {
|
||||
return nil, sql.ErrNoRows
|
||||
}
|
||||
return getOrganizationIDsByMemberIDRows, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user