Skip to content

Commit

Permalink
chore: Fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthb committed Jan 2, 2024
1 parent a5cd003 commit 140347a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asgard/heimdallr.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func FromContext(ctx context.Context) (*Papers, bool) {
id := &Papers{
Namespace: a.Authorizer.Namespace,
PublicKey: key,
SourceIP: a.Identity.SourceIp,
SourceIP: a.Identity.SourceIP,
UserAgent: a.Identity.UserAgent,
}
return id, true
Expand Down
2 changes: 1 addition & 1 deletion internal/middleware/requestcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AuthorizedRequestContext struct {
}

type AuthzIdentity struct {
SourceIp string `json:"sourceIp"`
SourceIP string `json:"sourceIp"`
UserAgent string `json:"userAgent"`
}

Expand Down

0 comments on commit 140347a

Please sign in to comment.