Skip to content

Commit

Permalink
refactor: Assign recipientsEmails the same way everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Jan 15, 2025
1 parent 20c81d3 commit cab98e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class UploadSessionDB() : UploadSession, RealmObject {
this.message = uploadSession.message
this._numberOfDownload = uploadSession.numberOfDownload.value
this.language = uploadSession.language
this.recipientsEmails = realmSetOf(*uploadSession.recipientsEmails.toTypedArray())
this.recipientsEmails = uploadSession.recipientsEmails.mapTo(destination = realmSetOf(), transform = { it })
this.files = uploadSession.files.mapTo(realmListOf(), ::UploadFileSessionDB)
}
}

0 comments on commit cab98e2

Please sign in to comment.