Polish FlaskMail qldocs

This commit is contained in:
jorgectf
2021-11-13 02:12:22 +01:00
parent 1393b5b157
commit 33b6f6fe61

View File

@@ -26,6 +26,12 @@ private module FlaskMail {
/**
* Gets a reference to an argument from `flask_mail.Message`, `flask_sendmail.Message` and `flask.ext.sendmail.Message`.
*
* Usage example:
*
* ```codeql
* DataFlow::Node getPlainTextBody() { result = getFlaskMailArgument(2, "body") }
* ```
*/
bindingset[argumentPosition, argumentName]
private DataFlow::Node getFlaskMailArgument(int argumentPosition, string argumentName) {