Skip to content

Commit 937ffe9

Browse files
committed
fix TestWhitelist
1 parent e637374 commit 937ffe9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gateway/api_definition.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,7 @@ func (a *APISpec) URLAllowedAndIgnored(r *http.Request, rxPaths []URLSpec, white
15681568

15691569
return StatusOk, rxPaths[i].oasMock
15701570
}
1571+
} else {
15711572

15721573
// We are using an extended path set, check for the method
15731574
methodMeta, matchMethodOk := rxPaths[i].MethodActions[r.Method]

0 commit comments

Comments
 (0)