feat: initialize channel metadata in relay processing
This commit is contained in:
@@ -318,6 +318,8 @@ func RelayMidjourney(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relayInfo.InitChannelMeta(c)
|
||||||
|
|
||||||
var mjErr *dto.MidjourneyResponse
|
var mjErr *dto.MidjourneyResponse
|
||||||
switch relayInfo.RelayMode {
|
switch relayInfo.RelayMode {
|
||||||
case relayconstant.RelayModeMidjourneyNotify:
|
case relayconstant.RelayModeMidjourneyNotify:
|
||||||
|
|||||||
Reference in New Issue
Block a user