Skip to content

Commit b5fe2b4

Browse files
authored
Update account-dashboard.html
1 parent ee533c6 commit b5fe2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

account-dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ <h2 style="text-align:center;">Welcome to your dashboard</h2>
139139
document.getElementById('user').textContent = username;
140140

141141
try {
142-
const res = await fetch('https://scratch-coding-hut-data.onrender.com');
142+
const res = await fetch(`https://scratch-coding-hut-data.onrender.com/${username}`);
143143
const data = await res.json();
144144

145145
if (data) {

0 commit comments

Comments
 (0)