We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f6a49 commit 7608892Copy full SHA for 7608892
services/graph/pkg/service/v0/utils.go
@@ -4,8 +4,10 @@ import (
4
"context"
5
"encoding/base64"
6
"encoding/json"
7
+ "fmt"
8
"io"
9
"net/http"
10
+ "path"
11
"reflect"
12
13
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
@@ -544,7 +546,7 @@ func cs3ReceivedOCMSharesToDriveItems(ctx context.Context,
544
546
// file shares
545
547
resOpaqueID := "/"
548
if receivedShares[0].GetResourceType() == storageprovider.ResourceType_RESOURCE_TYPE_FILE {
- resOpaqueID += receivedShares[0].GetName()
549
+ resOpaqueID = path.Join(resOpaqueID, receivedShares[0].GetName())
550
}
551
552
shareStat, err := gatewayClient.Stat(ctx, &storageprovider.StatRequest{
0 commit comments