Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2024-06-14 13:30:45 +07:00
commit bed7dbb896
4 changed files with 25 additions and 6 deletions

View file

@ -178,6 +178,25 @@ export class ChangePositionController extends Controller {
return new HttpSuccess({ data: changePosition, total });
}
/**
* API
*
* @summary (ADMIN)
*
*/
@Get("pending")
async getProfilePending() {
const profiles = await this.changePositionRepository.find({
relations: ["profileChangePosition"],
where: {
profileChangePosition: {
status: "PENDING"
}
}
});
return new HttpSuccess(profiles);
}
/**
* API
*