Update index.html
This commit is contained in:
parent
8d2460c40d
commit
3e1064d648
@ -796,7 +796,8 @@
|
|||||||
const filteredRequests = [];
|
const filteredRequests = [];
|
||||||
const approvedRequests = new Set();
|
const approvedRequests = new Set();
|
||||||
Object.values(kycRequests).forEach((request) => {
|
Object.values(kycRequests).forEach((request) => {
|
||||||
const { time, tag, note, senderID } = request;
|
const { time, tag, note, senderID, receiverID } = request;
|
||||||
|
if (!floCrypto.isSameAddr(receiverID, floDapps.user.id)) return;
|
||||||
const floAddress = getFloAddress(senderID)
|
const floAddress = getFloAddress(senderID)
|
||||||
if (status === 'pending') {
|
if (status === 'pending') {
|
||||||
if (approvedRequests.has(floAddress))
|
if (approvedRequests.has(floAddress))
|
||||||
@ -952,6 +953,7 @@
|
|||||||
const fileEntryResponse = await floCloudAPI.sendGeneralData({
|
const fileEntryResponse = await floCloudAPI.sendGeneralData({
|
||||||
docType: selectedIdProof,
|
docType: selectedIdProof,
|
||||||
docVectorClock: vectorClock,
|
docVectorClock: vectorClock,
|
||||||
|
receiverID: floCrypto.getFloID(selectedVerifier),
|
||||||
}, 'userKycRequests')
|
}, 'userKycRequests')
|
||||||
fileEntryResponse.message = floCloudAPI.util.decodeMessage(fileEntryResponse.message)
|
fileEntryResponse.message = floCloudAPI.util.decodeMessage(fileEntryResponse.message)
|
||||||
// add file entry to general data
|
// add file entry to general data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user