Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

drime: fix User.EntryPermissions JSON unmarshalling

a1pcm3ad0178b5b30
diff --git a/backend/drime/api/types.go b/backend/drime/api/types.go
index 427e7eb70..f2d18af6f 100644
--- a/backend/drime/api/types.go
+++ b/backend/drime/api/types.go
@@ -21,7 +21,7 @@ type User struct {
Avatar string `json:"avatar"`
ModelType string `json:"model_type"`
OwnsEntry bool `json:"owns_entry"`
- EntryPermissions []any `json:"entry_permissions"`
+ EntryPermissions any `json:"entry_permissions"`
DisplayName string `json:"display_name"`
}