1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-11 19:50:24 +08:00

fix user tmpfile permission

This commit is contained in:
源文雨
2023-05-10 00:34:02 +08:00
parent 125b47e5f7
commit 9c9b6e4eae
5 changed files with 6 additions and 15 deletions

View File

@@ -67,7 +67,7 @@ func init() {
writeresult(w, codeError, nil, err.Error(), typeError)
return
}
reg, err := global.UserDB.GetUserRegex(*user.ID)
reg, err := global.UserDB.GetUserRegex(user, id)
if err != nil {
writeresult(w, codeError, nil, err.Error(), typeError)
return