mirror of
https://github.com/documize/community.git
synced 2025-07-30 10:39:44 +02:00
Export to PDF related improvements
This commit is contained in:
parent
2e9734e73e
commit
ad2e653f3c
5 changed files with 701 additions and 690 deletions
|
@ -18,8 +18,8 @@ import (
|
|||
)
|
||||
|
||||
// GetSecuredUser contain associated accounts but credentials are wiped.
|
||||
func GetSecuredUser(ctx domain.RequestContext, s domain.Store, orgID, q string) (u user.User, err error) {
|
||||
u, err = s.User.Get(ctx, q)
|
||||
func GetSecuredUser(ctx domain.RequestContext, s domain.Store, orgID, id string) (u user.User, err error) {
|
||||
u, err = s.User.Get(ctx, id)
|
||||
AttachUserAccounts(ctx, s, orgID, &u)
|
||||
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue