mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 06:43:41 +08:00
fix mj fetch bug
This commit is contained in:
@@ -60,7 +60,7 @@ func UpdateMidjourneyTask() {
|
||||
req = req.WithContext(ctx)
|
||||
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
req.Header.Set("Authorization", "Bearer midjourney-proxy")
|
||||
//req.Header.Set("Authorization", "Bearer midjourney-proxy")
|
||||
req.Header.Set("mj-api-secret", midjourneyChannel.Key)
|
||||
resp, err := httpClient.Do(req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user