File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ async function fetchPunishments() {
8
8
card . className = 'card' ;
9
9
10
10
const img = document . createElement ( 'img' ) ;
11
- img . src = `https://mc-heads.net/avatar/${ punishment . name } /100` ;
11
+ img . src = `https://mc-heads.net/avatar/${ punishment . uuid } /100` ;
12
12
img . alt = `${ punishment . name } 's head` ;
13
13
14
14
const h2 = document . createElement ( 'h2' ) ;
Original file line number Diff line number Diff line change 1
1
[
2
+ {
3
+ "name" : " SavageDylan101" ,
4
+ "uuid" : " 661cdd04-b2f1-4718-a1f2-c9806cb20dce" ,
5
+ "punishmentDate" : 1601078400000
6
+ },
7
+ {
8
+ "name" : " PhilipThePigeon" ,
9
+ "uuid" : " 3dc644b2-39c6-4ad7-8c6a-94f699771d24" ,
10
+ "punishmentDate" : 1616417640000
11
+ },
12
+ {
13
+ "name" : " Simpin4Netherite" ,
14
+ "uuid" : " 3dded9ae-d7ac-4698-921f-944490483745" ,
15
+ "punishmentDate" : 1617287640000
16
+ },
2
17
{
3
18
"name" : " BORZ_CHIMAEV" ,
4
19
"uuid" : " 8e6302d0445346ea9ecd855bc615988c" ,
You can’t perform that action at this time.
0 commit comments