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
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
7 changed files with 12 additions and 16 deletions

View file

@ -144,7 +144,7 @@ func (rel *TaskRelation) Create(s *xorm.Session, a web.Auth) error {
}
}
rel.CreatedBy, err = getUserOrLinkShareUser(s, a)
rel.CreatedBy, err = GetUserOrLinkShareUser(s, a)
if err != nil {
return err
}