Address comments

This commit is contained in:
Napalys Klicius
2025-05-01 11:19:41 +02:00
parent 9624a413e4
commit 68a9dd9f9e

View File

@@ -169,9 +169,7 @@ module Fastify {
override string getRelativePath() { result = this.getArgument(0).getStringValue() }
override Http::RequestMethodName getHttpMethod() {
if this.getMethodName() = "all" then any() else result = this.getMethodName().toUpperCase()
}
override Http::RequestMethodName getHttpMethod() { result = this.getMethodName().toUpperCase() }
}
private class AddHookRouteSetup extends Routing::RouteSetup::MethodCall instanceof RouteSetup {