Skip to content

Commit

Permalink
Linting and other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Jul 30, 2020
1 parent 28d8d82 commit 7d4baf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/grpc/services/gateway/appprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (
rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
storageprovider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
tokenpkg "github.com/cs3org/reva/pkg/token"
"github.com/cs3org/reva/pkg/errtypes"
"github.com/cs3org/reva/pkg/rgrpc/status"
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
tokenpkg "github.com/cs3org/reva/pkg/token"
"github.com/pkg/errors"
)

Expand Down Expand Up @@ -94,11 +94,11 @@ func (s *svc) OpenFileInAppProvider(ctx context.Context, req *gateway.OpenFileIn
}, nil
}

// build the appProvider specific request with the required extra info that has been obtained
// build the appProvider specific request with the required extra info that has been obtained
appProviderReq := &providerpb.OpenFileInAppProviderRequest{
ResourceInfo: fileInfo,
ViewMode: req.ViewMode,
AccessToken: accessToken
ViewMode: req.ViewMode,
AccessToken: accessToken,
}

res, err := appProviderClient.OpenFileInAppProvider(ctx, appProviderReq)
Expand Down

0 comments on commit 7d4baf2

Please sign in to comment.