Skip to content

Commit

Permalink
fix the resource name
Browse files Browse the repository at this point in the history
  • Loading branch information
2403905 committed Jan 18, 2024
1 parent e854418 commit 089b45a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/fix-resource-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fix the resource name

We fixed a problem where after renaming resource as sharer the receiver see a new name.

https://github.com/cs3org/reva/pull/4463
https://github.com/owncloud/ocis/issues/8242
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,7 @@ func (s *service) ListContainer(ctx context.Context, req *provider.ListContainer
OpaqueId: share.Share.Id.OpaqueId,
}
info.Path = filepath.Base(share.MountPoint.Path)
info.Name = info.Path

infos = append(infos, info)
}
Expand Down

0 comments on commit 089b45a

Please sign in to comment.