mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
standard route response
This commit is contained in:
@@ -45,5 +45,5 @@ func handleRouteUpdate(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, routeResponse{"Route successfully updated", wroute})
|
||||
c.JSON(http.StatusOK, routeResponse{"Route successfully updated", wroute.Route})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user