feat: tambah idVillage ke response log-all-villages
This commit is contained in:
@@ -1149,6 +1149,7 @@ const MonitoringServer = new Elysia({ prefix: "/api/monitoring" })
|
||||
name: true,
|
||||
Village: {
|
||||
select: {
|
||||
id: true,
|
||||
name: true,
|
||||
},
|
||||
},
|
||||
@@ -1171,6 +1172,7 @@ const MonitoringServer = new Elysia({ prefix: "/api/monitoring" })
|
||||
desc: item.desc,
|
||||
username: item.User.name,
|
||||
village: item.User.Village.name,
|
||||
idVillage: item.User.Village.id,
|
||||
}));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user