Skip to content

Commit 9ad84b2

Browse files
authored
pkg/contexts: don't change case of org IDs (#1766)
1 parent 6efadaa commit 9ad84b2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/contexts/contexts.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ type CRE struct {
3939
// Normalized returns a possibly modified CRE with normalized values.
4040
func (c CRE) Normalized() CRE {
4141
c.Org = strings.TrimPrefix(c.Org, "org_")
42-
c.Org = strings.TrimPrefix(c.Org, "0x")
43-
c.Org = strings.ToLower(c.Org)
42+
// not hex like the others, so don't look for 0x or change case
4443

4544
c.Owner = strings.TrimPrefix(c.Owner, "owner_")
4645
c.Owner = strings.TrimPrefix(c.Owner, "0x")

0 commit comments

Comments
 (0)