Browse Source

chore: Remove duplicate logic for encoding contactMethods for DB.

pull/142/head
Trent Larson 5 days ago
parent
commit
c1713e1b0b
  1. 5
      src/views/ContactQRScanFullView.vue

5
src/views/ContactQRScanFullView.vue

@ -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) {

Loading…
Cancel
Save