change image location

This commit is contained in:
2024-04-20 17:43:03 +07:00
parent 53688ef8cd
commit 472ae5252f

View File

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