Skip to content

Commit

Permalink
fix(share): Recomputing the item in case of share
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Jan 12, 2025
1 parent 286aa54 commit 29b5cf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/fibr/fibr.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func (s Service) parseShare(ctx context.Context, request *provider.Request, auth
request.Share = share
request.CanEdit = share.Edit
request.Path = strings.TrimPrefix(request.Path, fmt.Sprintf("/%s", share.ID))
request.Item = path.Base(request.Path)

if share.Story {
request.Display = provider.StoryDisplay
Expand Down

0 comments on commit 29b5cf7

Please sign in to comment.