Updated ctx to MiddlewareContext in various places.

This commit is contained in:
Travis Reeder
2017-07-12 21:40:16 -07:00
parent 7a81aa5761
commit 86b93e27f7
6 changed files with 20 additions and 23 deletions

View File

@@ -1,7 +1,6 @@
package server
import (
"context"
"net/http"
"github.com/gin-gonic/gin"
@@ -10,7 +9,7 @@ import (
)
func (s *Server) handleAppCreate(c *gin.Context) {
ctx := c.MustGet("ctx").(context.Context)
ctx := c.MustGet("mctx").(MiddlewareContext)
log := common.Logger(ctx)
var wapp models.AppWrapper