This commit is contained in:
2024-10-01 19:48:49 +05:00
parent a678358731
commit 61798c8b65

View File

@@ -19,16 +19,16 @@ async function fetchCardHistory() {
})
.then(response => response.json())
.then(result => {
if (response.errCode != 0) {
if (result.errCode != 0) {
Nova.error('Barlap bolmady, tor näsazlygy')
}
cardHistoryDetailContainer.innerHTML = `
<p>Şahamça: <strong>${response.depName}</strong></p>
<p>Şahamça: <strong>${result.depName}</strong></p>
<p>
<ul>
${Array.from(response.transactions).map(transaction => {
${Array.from(result.transactions).map(transaction => {
return 'hello';
})}
</ul>