Fixed the activity field mapping

This commit is contained in:
Roman Perekhod committed 2024-11-18 15:20:15 +01:00
1 parent 8a903991b8
commit 46a95b4176
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