mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-13 20:07:41 -04:00
Merge pull request #10593 from 2403905/issue-10228
Fixed the activity field mapping
This commit is contained in:
5
changelog/unreleased/fix-activity-mapping.md
Normal file
5
changelog/unreleased/fix-activity-mapping.md
Normal file
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user