Skip to content

Commit 4ed401f

Browse files
committed
Pull & push encrypt key
1 parent 3704184 commit 4ed401f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

templates/cli/lib/commands/push.js.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ const createAttribute = (databaseId, collectionId, attribute) => {
508508
required: attribute.required,
509509
xdefault: attribute.default,
510510
array: attribute.array,
511+
encrypt: attribute.encrypt,
511512
parseOutput: false
512513
})
513514

templates/cli/lib/config.js.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ const KeysAttributes = new Set([
3535
"side",
3636
// Indexes
3737
"attributes",
38-
"orders"
38+
"orders",
39+
// Strings
40+
"encrypt",
3941
]);
4042
const KeyIndexes = new Set(["key", "type", "status", "attributes", "orders"]);
4143

0 commit comments

Comments
 (0)