Skip to content

Commit

Permalink
Handle metadata and data operations for shared folder (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode authored Mar 31, 2020
1 parent 067fd10 commit 331a367
Show file tree
Hide file tree
Showing 4 changed files with 935 additions and 74 deletions.
3 changes: 3 additions & 0 deletions internal/grpc/services/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ package gateway
import (
"fmt"
"net/url"
"strings"

gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"

Expand Down Expand Up @@ -77,6 +78,8 @@ func New(m map[string]interface{}, ss *grpc.Server) (rgrpc.Service, error) {
c.ShareFolder = "MyShares"
}

c.ShareFolder = strings.Trim(c.ShareFolder, "/")

if c.TokenManager == "" {
c.TokenManager = "jwt"
}
Expand Down
Loading

0 comments on commit 331a367

Please sign in to comment.