diff --git a/src/controllers/ProfileOtherController.ts b/src/controllers/ProfileOtherController.ts index 2ac69301..ad52c299 100644 --- a/src/controllers/ProfileOtherController.ts +++ b/src/controllers/ProfileOtherController.ts @@ -48,7 +48,7 @@ export class ProfileOtherController extends Controller { public async getOther(@Path() profileId: string) { const lists = await this.otherRepository.find({ where: { profileId: profileId }, - select: ["id", "isActive", "date", "detail"], + select: ["id", "date", "detail"], }); return new HttpSuccess(lists); } @@ -75,7 +75,7 @@ export class ProfileOtherController extends Controller { public async otherHistory(@Path() otherId: string) { const record = await this.otherHistoryRepository.find({ where: { profileOtherId: otherId }, - select: ["id", "isActive", "date", "detail"], + select: ["id", "date", "detail"], order: { createdAt: "DESC" }, }); return new HttpSuccess(record);