Skip to content

Commit 05397c6

Browse files
committed
Update API key policy
1 parent 703faf7 commit 05397c6

File tree

1 file changed

+1
-3
lines changed
  • gateway/policies/api-key-auth/v1.0.0

1 file changed

+1
-3
lines changed

gateway/policies/api-key-auth/v1.0.0/apikey.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,8 @@ var ins = &APIKeyPolicy{
6666
},
6767
}
6868

69-
// NewPolicy creates a new APIKeyPolicy instance
70-
func NewPolicy(
69+
func GetPolicy(
7170
metadata policy.PolicyMetadata,
72-
initParams map[string]interface{},
7371
params map[string]interface{},
7472
) (policy.Policy, error) {
7573
return ins, nil

0 commit comments

Comments
 (0)