Fix create collectionr request

This commit is contained in:
Neeraj Gupta 2022-12-20 15:02:12 +05:30
parent 5f55e4e355
commit 670fea0abe
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -45,7 +45,7 @@ class CreateRequest {
map['keyDecryptionNonce'] = keyDecryptionNonce;
map['encryptedName'] = encryptedName;
map['nameDecryptionNonce'] = nameDecryptionNonce;
map['type'] = type;
map['type'] = type.toString();
if (attributes != null) {
map['attributes'] = attributes!.toMap();
}