checkpoint
This commit is contained in:
parent
aa3e7c6489
commit
db2cad0a95
2 changed files with 0 additions and 4 deletions
|
|
@ -72,10 +72,8 @@ export class OrgRootController extends Controller {
|
|||
if (orgRevision) {
|
||||
orgRoot.createdUserId = request.user.sub;
|
||||
orgRoot.createdFullName = request.user.name;
|
||||
orgRoot.createdAt = new Date();
|
||||
orgRoot.lastUpdateUserId = request.user.sub;
|
||||
orgRoot.lastUpdateFullName = request.user.name;
|
||||
orgRoot.lastUpdatedAt = new Date();
|
||||
await this.orgRootRepository.save(orgRoot);
|
||||
}else{
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลไอดี Revision");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue