|
716 | 716 | let personalListRecord = try syncEngine.private.database.record( |
717 | 717 | for: RemindersList.recordID(for: 1) |
718 | 718 | ) |
719 | | - personalListRecord.setValue(Array("image".utf8), forKey: "image", at: now) |
| 719 | + personalListRecord.setBytes(Array("image".utf8), forKey: "image", at: now) |
720 | 720 |
|
721 | 721 | try await syncEngine.modifyRecords( |
722 | 722 | scope: .private, |
|
775 | 775 | let personalListRecord = try syncEngine.private.database.record( |
776 | 776 | for: RemindersList.recordID(for: 1) |
777 | 777 | ) |
778 | | - personalListRecord.setValue(Array("personal-image".utf8), forKey: "image", at: now) |
| 778 | + personalListRecord.setBytes(Array("personal-image".utf8), forKey: "image", at: now) |
779 | 779 | let businessListRecord = try syncEngine.private.database.record( |
780 | 780 | for: RemindersList.recordID(for: 2) |
781 | 781 | ) |
782 | | - businessListRecord.setValue(Array("business-image".utf8), forKey: "image", at: now) |
| 782 | + businessListRecord.setBytes(Array("business-image".utf8), forKey: "image", at: now) |
783 | 783 | let secretListRecord = try syncEngine.private.database.record( |
784 | 784 | for: RemindersList.recordID(for: 3) |
785 | 785 | ) |
786 | | - secretListRecord.setValue(Array("secret-image".utf8), forKey: "image", at: now) |
| 786 | + secretListRecord.setBytes(Array("secret-image".utf8), forKey: "image", at: now) |
787 | 787 |
|
788 | 788 | try await syncEngine.modifyRecords( |
789 | 789 | scope: .private, |
|
0 commit comments