fix recover
This commit is contained in:
parent
abf5a78356
commit
2c1c31d275
|
@ -149,7 +149,9 @@ func (p *Account) OpListByUserId(ctx *gin.Context, req *accountproto.OpListByUse
|
|||
logger.Error("GetAccountListByUserId fail, err: %v", err)
|
||||
return nil, err
|
||||
}
|
||||
_ = mediafiller.FillEntity(ctx, list.Avatar)
|
||||
if list != nil {
|
||||
_ = mediafiller.FillEntity(ctx, list.Avatar)
|
||||
}
|
||||
return list, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue