(c *stdapi.Context)
| 13 | ) |
| 14 | |
| 15 | func (s *Server) AppCancel(c *stdapi.Context) error { |
| 16 | if err := s.hook("AppCancelValidate", c); err != nil { |
| 17 | return err |
| 18 | } |
| 19 | |
| 20 | name := c.Var("name") |
| 21 | |
| 22 | err := s.provider(c).WithContext(c.Context()).AppCancel(name) |
| 23 | if err != nil { |
| 24 | return err |
| 25 | } |
| 26 | |
| 27 | return c.RenderOK() |
| 28 | } |
| 29 | |
| 30 | func (s *Server) AppCreate(c *stdapi.Context) error { |
| 31 | if err := s.hook("AppCreateValidate", c); err != nil { |
nothing calls this directly
no test coverage detected