🔖 chore: Update variable name to follow naming conventions

This commit is contained in:
MartialBE
2024-05-29 04:58:28 +08:00
parent 021f8c65da
commit c2f8a79be2
14 changed files with 45 additions and 45 deletions

View File

@@ -558,8 +558,8 @@ func getMJProviderWithRequest(c *gin.Context, relayMode int, request *provider.M
return getMJProvider(c, midjourneyModel)
}
func getMJProviderWithChannelId(c *gin.Context, channel_id int) (*provider.MidjourneyProvider, *provider.MidjourneyResponse) {
c.Set("specific_channel_id", channel_id)
func getMJProviderWithChannelId(c *gin.Context, channelId int) (*provider.MidjourneyProvider, *provider.MidjourneyResponse) {
c.Set("specific_channel_id", channelId)
return getMJProvider(c, "")
}