(c *stdapi.Context)
| 524 | } |
| 525 | |
| 526 | func (s *Server) FilesUpload(c *stdapi.Context) error { |
| 527 | if err := s.hook("FilesUploadValidate", c); err != nil { |
| 528 | return err |
| 529 | } |
| 530 | |
| 531 | app := c.Var("app") |
| 532 | pid := c.Var("pid") |
| 533 | r := c |
| 534 | |
| 535 | err := s.provider(c).WithContext(c.Context()).FilesUpload(app, pid, r) |
| 536 | if err != nil { |
| 537 | return err |
| 538 | } |
| 539 | |
| 540 | return c.RenderOK() |
| 541 | } |
| 542 | |
| 543 | func (s *Server) Initialize(c *stdapi.Context) error { |
| 544 | return stdapi.Errorf(404, "not available via api") |
nothing calls this directly
no test coverage detected