no message
This commit is contained in:
parent
8337a92637
commit
72e746a0c2
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export class ProfileAvatarController extends Controller {
|
||||||
@Get("profileId/{id}")
|
@Get("profileId/{id}")
|
||||||
async getProfile(@Path() id: string) {
|
async getProfile(@Path() id: string) {
|
||||||
const profile = await this.profileRepository.findOne({
|
const profile = await this.profileRepository.findOne({
|
||||||
select: ["avatar", "avatarName"],
|
select: ["id", "avatar", "avatarName"],
|
||||||
where: { id },
|
where: { id },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue