edit path

This commit is contained in:
mamoss 2025-04-01 11:28:58 +07:00
parent 72bd27c9b0
commit 68f680d841

View file

@ -203,7 +203,6 @@ export class ProfileAssistanceController extends Controller {
public async editStatusProfileAssistance(
@Body() body: { status: string; refId: string },
@Request() req: RequestWithUser,
@Path() assistanceId: string,
) {
const record = await this.profileAssistanceRepo.findOneBy({ refId: body.refId });
if (!record) throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูล");