Skip to content

Commit

Permalink
Merge pull request #10593 from 2403905/issue-10228
Browse files Browse the repository at this point in the history
Fixed the activity field mapping
  • Loading branch information
2403905 authored Nov 18, 2024
2 parents 91c41a4 + 46a95b4 commit bd201e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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

0 comments on commit bd201e7

Please sign in to comment.