We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0abc04 + 7d22d17 commit 529ddbfCopy full SHA for 529ddbf
1 file changed
src/main/kotlin/com/example/autobank/service/ReceiptService.kt
@@ -203,7 +203,7 @@ class ReceiptService(
203
204
// Get files
205
val attachments = attachmentService.getAttachmentsByReceiptId(receipt.receiptId)
206
- val files = attachments.map { attachment -> attachment.name.split(".")[1]+"."+blobService.downloadImage(attachment.name) }
+ val files = attachments.map { attachment -> attachment.name.split(".")[1].replace(":", "/")+"."+blobService.downloadImage(attachment.name) }
207
208
return CompleteReceipt(
209
receipt.receiptId,
0 commit comments