Skip to content

Commit 340811c

Browse files
committed
chore: fix datasource variable
1 parent cedf80d commit 340811c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/protocols/cbor/CborMemberSerVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public String bigDecimalShape(BigDecimalShape shape) {
8484
context.getWriter().addImportSubmodule(
8585
"nv", "__nv", TypeScriptDependency.SMITHY_CORE, "/serde"
8686
);
87-
return "__nv(_)";
87+
return "__nv(" + dataSource + ")";
8888
}
8989

9090
/**

0 commit comments

Comments
 (0)