Merge pull request #10593 from 2403905/issue-10228

Fixed the activity field mapping
This commit is contained in:
Roman Perekhod authored and GitHub committed 2024-11-18 16:53:54 +01:00
commit bd201e731a
2 files changed
+6 -1

No files matched your search

@@ -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
+1 -1
View File
@@ -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