mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
Format FlaskMail.qll and Sendgrid.qll
This commit is contained in:
@@ -20,7 +20,6 @@ private module Sendgrid {
|
||||
/** Gets a reference to `sendgrid.helpers.mail.Mail` */
|
||||
private API::Node sendgridMailInstance() { result = sendgridMailHelper().getMember("Mail") }
|
||||
|
||||
|
||||
/** Gets a reference to a `SendGridAPIClient` instance. */
|
||||
private API::Node sendgridApiClient() {
|
||||
result = sendgrid().getMember("SendGridAPIClient").getReturn()
|
||||
|
||||
@@ -18,7 +18,6 @@ private module FlaskMail {
|
||||
/** Gets a reference to `flask_mail.Mail()`, `flask_sendmail.Mail()` and `flask.ext.sendmail.Mail()`. */
|
||||
private API::Node flaskMailInstance() { result = flaskMail().getMember("Mail").getReturn() }
|
||||
|
||||
|
||||
/**
|
||||
* Gets a call to `mail.send()`.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user