modules: add v2 support

This commit is contained in:
Nicola Murino
2021-06-26 07:31:41 +02:00
parent 93dfb03eaf
commit 076b2f0ee0
129 changed files with 454 additions and 446 deletions

View File

@@ -8,8 +8,8 @@ import (
"github.com/go-chi/jwtauth/v5"
"github.com/go-chi/render"
"github.com/drakkan/sftpgo/dataprovider"
"github.com/drakkan/sftpgo/utils"
"github.com/drakkan/sftpgo/v2/dataprovider"
"github.com/drakkan/sftpgo/v2/utils"
)
func getAdmins(w http.ResponseWriter, r *http.Request) {