feat: initialize channel metadata in relay processing

This commit is contained in:
CaIon
2025-08-15 19:00:16 +08:00
parent 491013e27a
commit 28bd31a30b

View File

@@ -318,6 +318,8 @@ func RelayMidjourney(c *gin.Context) {
return
}
relayInfo.InitChannelMeta(c)
var mjErr *dto.MidjourneyResponse
switch relayInfo.RelayMode {
case relayconstant.RelayModeMidjourneyNotify: