1
0

Fix getting user info from /user endpoint for link shares

This commit is contained in:
kolaente
2021-04-07 15:02:57 +02:00
parent cb0df3ebbc
commit 8ddc00bd29
7 changed files with 12 additions and 16 deletions

View File

@ -67,7 +67,7 @@ func (tc *TaskComment) Create(s *xorm.Session, a web.Auth) (err error) {
return err
}
tc.Author, err = getUserOrLinkShareUser(s, a)
tc.Author, err = GetUserOrLinkShareUser(s, a)
if err != nil {
return err
}