|
@@ -277,6 +277,7 @@ export class BankClient {
|
|
|
delete newProps.id;
|
|
delete newProps.id;
|
|
|
const newItem: any = mergeDeep(existingData, newProps);
|
|
const newItem: any = mergeDeep(existingData, newProps);
|
|
|
delete newItem.hash;
|
|
delete newItem.hash;
|
|
|
|
|
+ newItem.lastChanged = new Date().toLocaleString();
|
|
|
const newItemHash = await this.uploadSlimJSON(newItem);
|
|
const newItemHash = await this.uploadSlimJSON(newItem);
|
|
|
await this.appendPrivate(peerId, '📇', newItemHash, existing.hash);
|
|
await this.appendPrivate(peerId, '📇', newItemHash, existing.hash);
|
|
|
const contactBook2 = await this.getContactBook(peerId);
|
|
const contactBook2 = await this.getContactBook(peerId);
|