chore: Remove duplicate logic for encoding contactMethods for DB.

This commit is contained in:
2025-08-08 08:51:26 -06:00
parent d5db39878c
commit c1713e1b0b

View File

@@ -553,11 +553,6 @@ export default class ContactQRScanFull extends Vue {
return;
}
// Add new contact
// @ts-expect-error because we're just using the value to store to the DB
contact.contactMethods = JSON.stringify(
(this as any)._parseJsonField(contact.contactMethods, []),
);
await this.$insertContact(contact);
if (this.activeDid) {