mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-22 22:18:02 +02:00
Use Name instead of DisplayName in LFS Lock (#21415)
Fixes #21268 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@ -412,7 +412,7 @@ func ToLFSLock(l *git_model.LFSLock) *api.LFSLock {
|
||||
Path: l.Path,
|
||||
LockedAt: l.Created.Round(time.Second),
|
||||
Owner: &api.LFSLockOwner{
|
||||
Name: u.DisplayName(),
|
||||
Name: u.Name,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user