mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Added addHook to RouteSetup thus now it is recognized now as rouute handler
This commit is contained in:
@@ -138,7 +138,7 @@ module Fastify {
|
||||
|
||||
RouteSetup() {
|
||||
this = server(server).getAMethodCall(methodName) and
|
||||
methodName = ["route", "get", "head", "post", "put", "delete", "options", "patch"]
|
||||
methodName = ["route", "get", "head", "post", "put", "delete", "options", "patch", "addHook"]
|
||||
}
|
||||
|
||||
override DataFlow::SourceNode getARouteHandler() {
|
||||
|
||||
Reference in New Issue
Block a user