Fix: The edit interface is not billed (usage-based pricing).

This commit is contained in:
xqx121 authored and GitHub committed 2025-06-02 22:11:11 +08:00
1 parent 46f95fddcd
commit f234b3f16c
1 file changed
+3
+3
View File
@@ -41,6 +41,9 @@ func getAndValidImageRequest(c *gin.Context, info *relaycommon.RelayInfo) (*dto.
imageRequest.Quality = "standard"
}
}
if imageRequest.N == 0 {
imageRequest.N = 1
}
default:
err := common.UnmarshalBodyReusable(c, imageRequest)
if err != nil {