From 6235be381ccb4343c6afae6f35b8f71b2d740dab Mon Sep 17 00:00:00 2001 From: totegamma Date: Sun, 13 Oct 2024 02:18:58 +0900 Subject: [PATCH] remove debug code --- x/store/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/store/repository.go b/x/store/repository.go index 9116bc33..ace3d699 100644 --- a/x/store/repository.go +++ b/x/store/repository.go @@ -284,7 +284,7 @@ func (r *repository) SyncCommitFile(ctx context.Context, owner string) error { for { var commits []core.CommitLog - query := r.db.Debug().WithContext(ctx). + query := r.db.WithContext(ctx). Joins("JOIN commit_owners ON commit_owners.commit_log_id = commit_logs.id"). Where("commit_owners.owner = ?", owner). Where("commit_logs.is_ephemeral = ?", false)