missed some

This commit is contained in:
Kevin Stubbings
2024-09-13 00:21:33 -07:00
parent 7657b3e115
commit 03f375e436
2 changed files with 4 additions and 4 deletions

View File

@@ -67,12 +67,12 @@ module FastApi {
/**
* Gets the dataflow node corresponding to the allowed CORS methods
*/
DataFlow::Node allowed_methods() { result = this.getArgByName("allow_methods") }
DataFlow::Node getMethods() { result = this.getArgByName("allow_methods") }
/**
* Gets the dataflow node corresponding to the allowed CORS headers
*/
DataFlow::Node allowed_headers() { result = this.getArgByName("allow_headers") }
DataFlow::Node getHeaders() { result = this.getArgByName("allow_headers") }
}
/**

View File

@@ -68,12 +68,12 @@ module Starlette {
/**
* Gets the dataflow node corresponding to the allowed CORS methods
*/
DataFlow::Node allowed_methods() { result = this.getArgByName("allow_methods") }
DataFlow::Node getMethods() { result = this.getArgByName("allow_methods") }
/**
* Gets the dataflow node corresponding to the allowed CORS headers
*/
DataFlow::Node allowed_headers() { result = this.getArgByName("allow_headers") }
DataFlow::Node getHeaders() { result = this.getArgByName("allow_headers") }
}
/**