change image to match location

This commit is contained in:
2024-04-20 17:36:06 +07:00
parent 6bd525f6b8
commit 53688ef8cd

View File

@@ -125,6 +125,7 @@ async function getAllUser(
return users.map((u) => ({
...u,
phone: hidePhone(u.phone),
image: u.image ? `${Config.minioPublicBucketEndpoint}/${u.image}` : null,
}));
}