This commit is contained in:
parent
e78811dfd6
commit
06385990b5
1 changed files with 1 additions and 1 deletions
|
|
@ -1551,7 +1551,7 @@ export class DevelopmentController extends Controller {
|
||||||
if (!development) {
|
if (!development) {
|
||||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลโครงการ/หลักสูตรการฝึกอบรมนี้");
|
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลโครงการ/หลักสูตรการฝึกอบรมนี้");
|
||||||
}
|
}
|
||||||
Object.assign(development, { ...requestBody, developmentAddresss: [] });
|
Object.assign(development, { ...requestBody});
|
||||||
development.lastUpdateUserId = request.user.sub;
|
development.lastUpdateUserId = request.user.sub;
|
||||||
development.lastUpdateFullName = request.user.name;
|
development.lastUpdateFullName = request.user.name;
|
||||||
development.lastUpdatedAt = new Date();
|
development.lastUpdatedAt = new Date();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue