Skip to content

Commit 23d6ae0

Browse files
authored
pkg/contexts: remove org ID normalization (#1995)
1 parent 52b7a5a commit 23d6ae0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pkg/contexts/contexts.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ type CRE struct {
3838

3939
// Normalized returns a possibly modified CRE with normalized values.
4040
func (c CRE) Normalized() CRE {
41-
c.Org = strings.TrimPrefix(c.Org, "org_")
42-
// not hex like the others, so don't look for 0x or change case
41+
// don't manipulate Org
4342

44-
c.Owner = strings.TrimPrefix(c.Owner, "owner_")
4543
c.Owner = strings.TrimPrefix(c.Owner, "0x")
4644
c.Owner = strings.ToLower(c.Owner)
4745

0 commit comments

Comments
 (0)