Skip to content

Commit 6cf922f

Browse files
authored
fix: Fix missed conversion from ULong to Long in polly presigner (#364)
1 parent 8a933e6 commit 6cf922f

File tree

1 file changed

+1
-1
lines changed
  • codegen/smithy-aws-kotlin-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/customization/polly

1 file changed

+1
-1
lines changed

codegen/smithy-aws-kotlin-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/customization/polly/PollyPresigner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class PollyPresigner : KotlinIntegration {
4444
writer.addImport(RuntimeTypes.Http.HttpMethod)
4545
writer.write(
4646
"""
47-
require(durationSeconds > 0u) { "duration must be greater than zero" }
47+
require(durationSeconds > 0) { "duration must be greater than zero" }
4848
val httpRequestBuilder = SynthesizeSpeechOperationSerializer().serialize(ExecutionContext.build { }, input)
4949
val queryStringBuilder = QueryParametersBuilder()
5050
""".trimIndent()

0 commit comments

Comments
 (0)