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:
@@ -33,5 +33,5 @@ func handleRouteGet(c *gin.Context) {
|
||||
|
||||
log.WithFields(logrus.Fields{"route": route}).Debug("Got route")
|
||||
|
||||
c.JSON(http.StatusOK, &models.RouteWrapper{route})
|
||||
c.JSON(http.StatusOK, routeResponse{"Successfully loaded route", route})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user