diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2019-07-23 20:50:39 +0200 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-07-23 19:50:39 +0100 |
commit | 54d96c79b5b9f3d5d47aed59729ae779968fbecb (patch) | |
tree | 3d74fa2aecf3a9c5a23a1ec0c7e66fca270216aa /modules/lfs/locks.go | |
parent | 2f75766532fbf30883c05e93ef01c19268216c45 (diff) | |
download | gitea-54d96c79b5b9f3d5d47aed59729ae779968fbecb.tar.gz gitea-54d96c79b5b9f3d5d47aed59729ae779968fbecb.zip |
Removed unnecessary conversions (#7557)
No need to convert to the same type.
Diffstat (limited to 'modules/lfs/locks.go')
-rw-r--r-- | modules/lfs/locks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lfs/locks.go b/modules/lfs/locks.go index 4516ba01ae..d7b2429698 100644 --- a/modules/lfs/locks.go +++ b/modules/lfs/locks.go @@ -97,7 +97,7 @@ func GetListLockHandler(ctx *context.Context) { }) return } - lock, err := models.GetLFSLockByID(int64(v)) + lock, err := models.GetLFSLockByID(v) handleLockListOut(ctx, repository, lock, err) return } |