chore(web): use config directly
(cherry picked from commit bcfd72c64545241b53fc8a69197cfc6a3f316d92)
This commit is contained in:
@ -58,7 +58,6 @@ import (
|
||||
"time"
|
||||
|
||||
"code.vikunja.io/api/pkg/config"
|
||||
"code.vikunja.io/api/pkg/db"
|
||||
"code.vikunja.io/api/pkg/log"
|
||||
"code.vikunja.io/api/pkg/models"
|
||||
"code.vikunja.io/api/pkg/modules/auth"
|
||||
@ -124,7 +123,6 @@ func NewEcho() *echo.Echo {
|
||||
AuthObject: auth.GetAuthFromClaims,
|
||||
})
|
||||
handler.SetLoggingProvider(log.GetLogger())
|
||||
handler.SetMaxItemsPerPage(config.ServiceMaxItemsPerPage.GetInt())
|
||||
|
||||
return e
|
||||
}
|
||||
|
Reference in New Issue
Block a user