MCPcopy Create free account
hub / github.com/PostHog/duckgres / DeleteUser

Method DeleteUser

controlplane/admin/api_test.go:144–151  ·  view source on GitHub ↗
(orgID, username string)

Source from the content-addressed store, hash-verified

142 if out[i].OrgID != out[j].OrgID {
143 return out[i].OrgID < out[j].OrgID
144 }
145 return out[i].TeamID < out[j].TeamID
146 })
147 return out, nil
148}
149
150func (s *fakeAPIStore) CreateOrgTeam(orgID string, team *configstore.OrgTeam) error {
151 if _, ok := s.orgs[orgID]; !ok {
152 return gorm.ErrRecordNotFound
153 }
154 if _, ok := s.teams[orgID][team.TeamID]; ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected