Skip to content

Commit 42ca023

Browse files
authored
Use util-base64 in ServerGenerator (#631)
1 parent bd10452 commit 42ca023

File tree

1 file changed

+2
-2
lines changed
  • smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen

1 file changed

+2
-2
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/ServerGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ private static void writeSerdeContextBase(TypeScriptWriter writer) {
274274
writer.addImport("ServerSerdeContext", "__ServerSerdeContext", "@aws-smithy/server-common");
275275
writer.addImport("NodeHttpHandler", null, "@aws-sdk/node-http-handler");
276276
writer.addImport("streamCollector", null, "@aws-sdk/node-http-handler");
277-
writer.addImport("fromBase64", null, "@aws-sdk/util-base64-node");
278-
writer.addImport("toBase64", null, "@aws-sdk/util-base64-node");
277+
writer.addImport("fromBase64", null, TypeScriptDependency.AWS_SDK_UTIL_BASE64.packageName);
278+
writer.addImport("toBase64", null, TypeScriptDependency.AWS_SDK_UTIL_BASE64.packageName);
279279
writer.addImport("fromUtf8", null, "@aws-sdk/util-utf8-node");
280280
writer.addImport("toUtf8", null, "@aws-sdk/util-utf8-node");
281281

0 commit comments

Comments
 (0)