Fix tmp export file created in the wrong path

This commit is contained in:
kolaente 2021-09-08 17:44:23 +02:00
parent f019ae42bb
commit 03d818fd9f
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ import (
)
func ExportUserData(s *xorm.Session, u *user.User) (err error) {
exportDir := config.ServiceRootpath.GetString() + "/files/user-export-tmp/"
exportDir := config.FilesBasePath.GetString() + "/user-export-tmp/"
err = os.MkdirAll(exportDir, 0700)
if err != nil {
return err