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:
@@ -75,5 +75,5 @@ func handleRouteCreate(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusCreated, routeResponse{"Route successfully created", wroute})
|
||||
c.JSON(http.StatusCreated, routeResponse{"Route successfully created", wroute.Route})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user