mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 03:43:39 +00:00
feat: initialize channel metadata in relay processing
This commit is contained in:
@@ -318,6 +318,8 @@ func RelayMidjourney(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
relayInfo.InitChannelMeta(c)
|
||||
|
||||
var mjErr *dto.MidjourneyResponse
|
||||
switch relayInfo.RelayMode {
|
||||
case relayconstant.RelayModeMidjourneyNotify:
|
||||
|
||||
Reference in New Issue
Block a user