We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9624a41 commit 68a9dd9Copy full SHA for 68a9dd9
javascript/ql/lib/semmle/javascript/frameworks/Fastify.qll
@@ -169,9 +169,7 @@ module Fastify {
169
170
override string getRelativePath() { result = this.getArgument(0).getStringValue() }
171
172
- override Http::RequestMethodName getHttpMethod() {
173
- if this.getMethodName() = "all" then any() else result = this.getMethodName().toUpperCase()
174
- }
+ override Http::RequestMethodName getHttpMethod() { result = this.getMethodName().toUpperCase() }
175
}
176
177
private class AddHookRouteSetup extends Routing::RouteSetup::MethodCall instanceof RouteSetup {
0 commit comments