Skip to content

Commit 2d2459b

Browse files
fix(sdk): Fix new API not setting nano attributes (#679) (#680)
(cherry picked from commit f0d9719) Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
1 parent 8e24efc commit 2d2459b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/opentdf.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ class Collection {
703703
maxKeyIterations: opts.maxKeyIterations,
704704
platformUrl: opts.platformUrl,
705705
});
706+
this.client.dataAttributes = opts.attributes || [];
706707
}
707708

708709
async encrypt(source: Source): Promise<DecoratedStream> {

0 commit comments

Comments
 (0)