From 51e02f9c50033ac40b50066c8cc94a5b14a7d5a5 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Tue, 12 Oct 2021 13:15:08 +0200 Subject: [PATCH] Improve comments about ListReceivedShares and GetReceivedShare (#2144) --- pkg/share/share.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/share/share.go b/pkg/share/share.go index c25848bf73..d791353acb 100644 --- a/pkg/share/share.go +++ b/pkg/share/share.go @@ -49,10 +49,10 @@ type Manager interface { // it returns only shares attached to the given resource. ListShares(ctx context.Context, filters []*collaboration.Filter) ([]*collaboration.Share, error) - // ListReceivedShares returns the list of shares the user has access. + // ListReceivedShares returns the list of shares the user has access to. ListReceivedShares(ctx context.Context, filters []*collaboration.Filter) ([]*collaboration.ReceivedShare, error) - // GetReceivedShare returns the information for a received share the user has access. + // GetReceivedShare returns the information for a received share. GetReceivedShare(ctx context.Context, ref *collaboration.ShareReference) (*collaboration.ReceivedShare, error) // UpdateReceivedShare updates the received share with share state.