aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo')
-rw-r--r--routers/web/repo/lfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/lfs.go b/routers/web/repo/lfs.go
index 67cb6837a5..9bf4307bfe 100644
--- a/routers/web/repo/lfs.go
+++ b/routers/web/repo/lfs.go
@@ -478,7 +478,7 @@ func LFSPointerFiles(ctx *context.Context) {
return err
}
if !result.Associatable {
- associated, err := git_model.LFSObjectIsAssociated(pointerBlob.Oid)
+ associated, err := git_model.ExistsLFSObject(ctx, pointerBlob.Oid)
if err != nil {
return err
}