mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-30 20:41:47 +00:00
✨ feat: enhance environment configuration and resource initialization
This commit is contained in:
@@ -101,7 +101,7 @@ func SendWebhookNotify(webhookURL string, secret string, data dto.Notify) error
|
||||
}
|
||||
|
||||
// 发送请求
|
||||
client := GetImpatientHttpClient()
|
||||
client := GetHttpClient()
|
||||
resp, err = client.Do(req)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to send webhook request: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user