File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ component {
7
7
this .dependencies = [ " hyper" ];
8
8
9
9
function configure () {
10
+ settings = {
11
+ " emailValidationAPIKey" : getSystemSetting ( " SENDGRID_SDK_EMAIL_VALIDATION_API_KEY" , " " )
12
+ };
13
+
10
14
routes = [ { pattern : " /webhooks" , handler : " webhooks" , action : " handle" } ];
11
15
12
16
interceptorSettings = {
Original file line number Diff line number Diff line change @@ -16,13 +16,12 @@ Configure your SendGrid API key credentials in the `config/ColdBox.cfc` file.
16
16
17
17
Note: SendGrid uses a Bearer API token header for authentication with their API.
18
18
The SendGrid API Keys can have different permissions granted and email address
19
- validation is typically seperate from all other permission sets.
20
-
19
+ validation is typically separate from all other permission sets.
21
20
22
21
```
23
22
moduleSettings = {
24
23
"sendgrid-sdk" = {
25
- emailValidationAPIKey = ""
24
+ " emailValidationAPIKey" = getSystemSetting( "SENDGRID_SDK_EMAIL_VALIDATION_API_KEY", "" )
26
25
}
27
26
};
28
27
```
You can’t perform that action at this time.
0 commit comments