Skip to content

Commit

Permalink
fix(InitUploadBody): Correctly encode recipientsEmails
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Dec 10, 2024
1 parent 04c6192 commit 49616d9
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 49616d9

Please sign in to comment.