feat: OAuth 认证支持多库操作
This commit is contained in:
parent
393e3ee1d6
commit
09a3f34f12
|
@ -30,8 +30,8 @@ namespace Bootstrap.DataAccess
|
|||
{
|
||||
// call webhook
|
||||
var config = context.HttpContext.RequestServices.GetRequiredService<IConfiguration>();
|
||||
var webhookUrl = config.GetSection<TOptions>().GetValue("StarredUrl", "");
|
||||
if (!string.IsNullOrEmpty(webhookUrl))
|
||||
var webhookUrls = config.GetSection<TOptions>().GetValue("StarredUrl", "").SpanSplit(";", StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach (var webhookUrl in webhookUrls)
|
||||
{
|
||||
var webhookParameters = new Dictionary<string, string>()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue