services/rfq/api/rest/handler.go
Method Handler.ModifyQuote
has 5 return statements (exceeds 4 allowed). Open
Open
func (h *Handler) ModifyQuote(c *gin.Context) {
// Retrieve the request from context
req, exists := c.Get("putRequest")
if !exists {
c.JSON(http.StatusBadRequest, gin.H{"error": "Request not found"})
Method Handler.ModifyBulkQuotes
has 5 return statements (exceeds 4 allowed). Open
Open
func (h *Handler) ModifyBulkQuotes(c *gin.Context) {
// Retrieve the request from context
req, exists := c.Get("putRequest")
if !exists {
c.JSON(http.StatusBadRequest, gin.H{"error": "Request not found"})
Method Handler.GetQuotes
has 5 return statements (exceeds 4 allowed). Open
Open
func (h *Handler) GetQuotes(c *gin.Context) {
originChainIDStr := c.Query("originChainID")
originTokenAddr := c.Query("originTokenAddr")
destChainIDStr := c.Query("destChainId")
destTokenAddr := c.Query("destTokenAddr")