MCPcopy Create free account
hub / github.com/anchordotdev/cli / personalOrgAPID

Method personalOrgAPID

lcl/bootstrap.go:169–175  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

167}
168
169func (c Bootstrap) personalOrgAPID(ctx context.Context) (string, error) {
170 userInfo, err := c.anc.UserInfo(ctx)
171 if err != nil {
172 return "", err
173 }
174 return userInfo.PersonalOrg.Slug, nil
175}
176
177func (c Bootstrap) localhostRealmAPID() (string, error) {
178 return "localhost", nil

Callers 1

performMethod · 0.95

Calls 1

UserInfoMethod · 0.80

Tested by

no test coverage detected