Skip to content

Commit 0441106

Browse files
committed
Update the lfs update proposals query
1 parent c79db6c commit 0441106

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/git-remote-gitopia/gitopia.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ func (h *GitopiaHandler) Push(remote *core.Remote, refsToPush []core.RefToPush)
413413
}
414414
msg = append(msg, storagetypes.NewMsgApproveRepositoryPackfileUpdate(h.wallet.Address(), packfileUpdateProposalRes.PackfileUpdateProposal.Id))
415415

416-
lfsObjectUpdateProposalRes, err := h.storageClient.LFSObjectUpdateProposal(context.Background(), &storagetypes.QueryLFSObjectUpdateProposalRequest{
416+
lfsObjectUpdateProposalRes, err := h.storageClient.LFSObjectUpdateProposalsByRepositoryId(context.Background(), &storagetypes.QueryLFSObjectUpdateProposalsByRepositoryIdRequest{
417417
RepositoryId: h.remoteRepository.Id,
418418
User: h.wallet.Address(),
419419
})
@@ -422,7 +422,7 @@ func (h *GitopiaHandler) Push(remote *core.Remote, refsToPush []core.RefToPush)
422422
}
423423

424424
// Approve LFS object update
425-
for _, lfsObjectUpdateProposal := range lfsObjectUpdateProposalRes.LfsObjectProposal {
425+
for _, lfsObjectUpdateProposal := range lfsObjectUpdateProposalRes.LfsObjectProposals {
426426
msg = append(msg, storagetypes.NewMsgApproveLFSObjectUpdate(h.wallet.Address(), lfsObjectUpdateProposal.Id))
427427
}
428428

0 commit comments

Comments
 (0)