diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2022-10-12 03:03:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 21:03:15 -0400 |
commit | 4dc3b2ec57cb8295a926a61c20cd0389ec1277c7 (patch) | |
tree | af5201e6e1fbcdc1874762c2f010dd146fad8a1b /modules/convert | |
parent | e026459a2d789d922185711218275c3daa25a4a7 (diff) | |
download | gitea-4dc3b2ec57cb8295a926a61c20cd0389ec1277c7.tar.gz gitea-4dc3b2ec57cb8295a926a61c20cd0389ec1277c7.zip |
Use Name instead of DisplayName in LFS Lock (#21415)
Fixes #21268
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules/convert')
-rw-r--r-- | modules/convert/convert.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/convert.go b/modules/convert/convert.go index af759cb938..187c67fa76 100644 --- a/modules/convert/convert.go +++ b/modules/convert/convert.go @@ -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, }, } } |