mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Assign err. Fixes tests that were not working
This commit is contained in:
@@ -35,7 +35,7 @@ func (s *Server) handleRouteCreateOrUpdate(c *gin.Context) {
|
||||
}
|
||||
|
||||
//Create the app if it does not exist.
|
||||
s.createApp(ctx, c, log, wroute, method)
|
||||
err = s.createApp(ctx, c, log, wroute, method)
|
||||
if err != nil {
|
||||
c.JSON(http.StatusInternalServerError, simpleError(err))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user