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:
@@ -23,5 +23,5 @@ func handleAppList(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, &models.AppsWrapper{apps})
|
||||
c.JSON(http.StatusOK, appsResponse{"Successfully listed applications", apps})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user