add await
This commit is contained in:
parent
036b707329
commit
0272361d36
1 changed files with 1 additions and 1 deletions
|
|
@ -945,7 +945,7 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "พบบางไอดีผู้ประเมินที่ไม่มีข้อมูล");
|
throw new HttpError(HttpStatusCode.NOT_FOUND, "พบบางไอดีผู้ประเมินที่ไม่มีข้อมูล");
|
||||||
}
|
}
|
||||||
|
|
||||||
list.forEach(async (item) => {
|
await list.forEach(async (item) => {
|
||||||
let role = "EVALUATOR";
|
let role = "EVALUATOR";
|
||||||
if (profileId == item.commanderId) {
|
if (profileId == item.commanderId) {
|
||||||
role = "COMMANDER";
|
role = "COMMANDER";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue