chore(web): remove unused echo context

This commit is contained in:
kolaente
2024-08-29 16:20:39 +02:00
parent 74a74b7ec7
commit 329de3aab3
29 changed files with 175 additions and 175 deletions

View File

@@ -28,12 +28,12 @@ import (
func status(ms migration.MigratorName, c echo.Context) error {
user, err := user2.GetCurrentUser(c)
if err != nil {
return handler.HandleHTTPError(err, c)
return handler.HandleHTTPError(err)
}
status, err := migration.GetMigrationStatus(ms, user)
if err != nil {
return handler.HandleHTTPError(err, c)
return handler.HandleHTTPError(err)
}
return c.JSON(http.StatusOK, status)