change image to match location
This commit is contained in:
@@ -125,6 +125,7 @@ async function getAllUser(
|
|||||||
return users.map((u) => ({
|
return users.map((u) => ({
|
||||||
...u,
|
...u,
|
||||||
phone: hidePhone(u.phone),
|
phone: hidePhone(u.phone),
|
||||||
|
image: u.image ? `${Config.minioPublicBucketEndpoint}/${u.image}` : null,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user