Skip to content

Commit

Permalink
Merge pull request #113 from Infomaniak/fix-recipients-encoding
Browse files Browse the repository at this point in the history
fix(InitUploadBody): Correctly encode `recipientsEmails`
  • Loading branch information
sirambd authored Dec 10, 2024
2 parents 04c6192 + 49616d9 commit f9fe646
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ class InitUploadBody(
recaptcha = recaptcha,
language = uploadSession.language.code,
files = Json.encodeToString(uploadSession.files.mapToList(::UploadFileRequest)),
recipientsEmails = uploadSession.recipientsEmails.joinToString(prefix = "[", postfix = "]"),
recipientsEmails = Json.encodeToString(uploadSession.recipientsEmails),
)
}

0 comments on commit f9fe646

Please sign in to comment.