Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the activity field mapping #10593

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-activity-mapping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Fix the activity field mapping

Fixed the activity field mapping
https://github.com/owncloud/ocis/pull/10593
https://github.com/owncloud/ocis/issues/10228
2 changes: 1 addition & 1 deletion services/activitylog/pkg/service/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func getFolderName(ctx context.Context, gwc gateway.GatewayAPIClient, ref *provi

func mapField(val string) string {
switch val {
case "TYPE_PERMISSIONS", "permission":
case "TYPE_PERMISSIONS", "permission", "permissions":
return StrPermission
case "TYPE_PASSWORD", "password":
return StrPassword
Expand Down