(c echo.Context)
| 432 | } |
| 433 | |
| 434 | func getLastJob(c echo.Context) error { |
| 435 | if err := storage.Jobs.TakeLastJob(c.Response()); errors.Is(err, storage.ErrNotFound) { |
| 436 | return c.NoContent(404) |
| 437 | } else if err != nil { |
| 438 | return err |
| 439 | } |
| 440 | return c.NoContent(200) |
| 441 | } |
| 442 | |
| 443 | func render2FAPage(c echo.Context, _ storage.App) error { |
| 444 | return c.HTML(200, assets.TwoFactorHtml) |
nothing calls this directly
no test coverage detected