feat: view customize on run and runCases pane

This commit is contained in:
Takeshi Kimata
2024-06-08 11:10:36 +09:00
parent 2b5a806aee
commit 37f97f97b5
4 changed files with 60 additions and 16 deletions

View File

@@ -105,7 +105,7 @@ function verifyEditableMiddleware(sequelize) {
// find project id from folderId
const folder = await Folder.findByPk(folderId);
const projectId = folder && folder.id;
const projectId = folder && folder.projectId;
if (!projectId) {
return res.status(404).send('failed to find projectId');
}
@@ -229,7 +229,7 @@ function verifyEditableMiddleware(sequelize) {
// find project id from runId
const run = await Run.findByPk(runId);
const projectId = run && run.id;
const projectId = run && run.projectId;
if (!projectId) {
return res.status(404).send('failed to find projectId');
}