Skip to content

Commit

Permalink
refactor(security): correct naming inconsistency in security contexts
Browse files Browse the repository at this point in the history
- Rename ContentTypeMetadata to ContextTypeMetadata for consistency with other context types
  • Loading branch information
godcong committed Dec 13, 2024
1 parent 6a417f4 commit 65f0a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const (
ContextTypeContext TokenType = iota
// ContextTypeHeader represents the context type for the header.
ContextTypeHeader
// ContentTypeMetadata represents the context type for the metadata.
ContentTypeMetadata
// ContextTypeMetadata represents the context type for the metadata.
ContextTypeMetadata
// ContextTypeQuery represents the context type for the query.
ContextTypeQuery
// ContextTypeCookie represents the context type for the cookie.
Expand Down

0 comments on commit 65f0a04

Please sign in to comment.