fix Error รายการคำร้องขอแก้ไข #658
This commit is contained in:
parent
fac7d762aa
commit
2e406b14ab
1 changed files with 3 additions and 3 deletions
|
|
@ -153,10 +153,10 @@ export class ProfileEditController extends Controller {
|
|||
// return new HttpSuccess(getProfileEdit);
|
||||
// }
|
||||
|
||||
@Get("{profileId}")
|
||||
public async detailProfileEdit(@Path() profileId: string) {
|
||||
@Get("{id}")
|
||||
public async detailProfileEdit(@Path() id: string) {
|
||||
const getProfileEdit = await this.profileEditRepo.findOne({
|
||||
where: { profileId: profileId },
|
||||
where: { id: id },
|
||||
relations: ["profile"],
|
||||
});
|
||||
if (!getProfileEdit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue