Add spinner API support for inserting attachments.

This commit is contained in:
Alex Hart
2026-07-01 14:23:18 -03:00
committed by Michelle Tang
parent db899e92f5
commit b6f6d1e42f
2 changed files with 109 additions and 0 deletions
@@ -2631,6 +2631,8 @@ class AttachmentTable(
REMOTE_KEY to Base64.encodeWithPadding(Util.getSecretBytes(64)),
REMOTE_DIGEST to Util.getSecretBytes(64)
)
.where("$ID = ?", attachmentId.id)
.run()
}
private fun deleteDataFiles(filePaths: Set<String>, contentTypes: Set<String>) {