mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Use chi style middle ware
This commit is contained in:
committed by
Travis Reeder
parent
570e9265f1
commit
cf2c3cf404
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func (s *Server) handleAppDelete(c *gin.Context) {
|
||||
ctx := c.MustGet("mctx").(MiddlewareContext)
|
||||
ctx := c.Request.Context()
|
||||
log := common.Logger(ctx)
|
||||
|
||||
app := &models.App{Name: c.MustGet(api.AppName).(string)}
|
||||
|
||||
Reference in New Issue
Block a user