fix image to show correct path
All checks were successful
backend-action / build-image (push) Successful in 27s
All checks were successful
backend-action / build-image (push) Successful in 27s
This commit is contained in:
@@ -150,7 +150,13 @@ async function getUser(userId: number, showPhone: boolean) {
|
|||||||
code: "BAD_REQUEST",
|
code: "BAD_REQUEST",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return { ...user, phone: showPhone ? user.phone : hidePhone(user.phone) };
|
return {
|
||||||
|
...user,
|
||||||
|
phone: showPhone ? user.phone : hidePhone(user.phone),
|
||||||
|
image: user.image
|
||||||
|
? `${Config.minioPublicBucketEndpoint}${user.image}`
|
||||||
|
: null,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
async function createUser(
|
async function createUser(
|
||||||
|
|||||||
Reference in New Issue
Block a user