Commit 0e95efdf by CaIon

feat: initialize channel metadata in relay processing

parent beb61343
...@@ -318,6 +318,8 @@ func RelayMidjourney(c *gin.Context) { ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment