forked from trent_larson/crowd-funder-for-time-pwa
chore: Remove duplicate logic for encoding contactMethods for DB.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user