forked from DevBetterCom/DevBetterWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Discord Webhook issue (DevBetterCom#1035)
Discord changed their API so that the `username` property on the request object can no longer be an empty string. We need to make that property a null or not include it at all
- Loading branch information
1 parent
f21c294
commit 4dfe3e4
Showing
3 changed files
with
110 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"googleReCaptcha:SiteKey": "6LcEwN4ZAAAAAC-_UfJ0dmdU8bRxLLJ4FwjXyE1R", | ||
"googleReCaptcha:SecretKey": "YOUR_SECRET_KEY", | ||
"storageconnectionstring": "[connection string goes here]", | ||
"VIMEO_TOKEN": "[vimeo token string goes here]", | ||
"videoUrlPrefix": "https://devbetter2storage.blob.core.windows.net/videos/", | ||
"GoogleMapsAPIKey": "GOOGLE_MAPS_API_KEY", | ||
"ConnectionStrings": { | ||
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=DevBetterWeb.App;Trusted_Connection=True;MultipleActiveResultSets=true" | ||
}, | ||
"ApiSettings": { | ||
"ApiKey": "[api key string goes here]" | ||
}, | ||
"Logging": { | ||
"ApplicationInsights": { | ||
"LogLevel": { | ||
"Default": "Debug", | ||
"Microsoft": "Error" | ||
} | ||
}, | ||
"IncludeScopes": {}, | ||
"LogLevel": { | ||
"Default": "Debug", | ||
"System": "Information", | ||
"Microsoft": "Information" | ||
}, | ||
"AzureAppServicesFile": { | ||
"IncludeScopes": true, | ||
"LogLevel": { | ||
"Default": "Information" | ||
} | ||
} | ||
}, | ||
"DiscordWebhookUrls": { | ||
"AdminUpdates": "(test url goes here)", | ||
"BookDiscussion": "(test url goes here)", | ||
"CoachingSessionsNotifications": "(test url goes here)", | ||
"DevBetterComNotifications": "(test url goes here)" | ||
}, | ||
"StripeOptions": { | ||
"StripeInvoicePaidWebHookSecretKey": "WebHook key goes here", | ||
"StripePaymentIntentSucceededWebHookSecretKey": "WebHook key goes here", | ||
"StripeCustomerSubscriptionUpdatedWebHookSecretKey": "WebHook key goes here", | ||
"StripeCustomerSubscriptionDeletedWebHookSecretKey": "WebHook key goes here", | ||
"StripePublishableKey": "publishable key", | ||
"StripeSecretKey": "secret key", | ||
"YearlyPlanId": "yearly plan price id", | ||
"MonthlyPlanId": "monthly plan price id" | ||
}, | ||
"SubscriptionPlanOptions": { | ||
"expectedNumberOfSubscriptionPlansNotInPaymentProvider": 0 | ||
}, | ||
"ApplicationInsights": { | ||
"ConnectionString": "(appinsights connection string goes here)" | ||
} | ||
} |