fix: rm Run require model
This commit is contained in:
@@ -625,7 +625,6 @@ export class WorkflowInterpreter {
|
|||||||
try {
|
try {
|
||||||
const sequelize = require('../../storage/db').default;
|
const sequelize = require('../../storage/db').default;
|
||||||
await sequelize.transaction(async (transaction: any) => {
|
await sequelize.transaction(async (transaction: any) => {
|
||||||
const { Run } = require('../../models');
|
|
||||||
const run = await Run.findOne({
|
const run = await Run.findOne({
|
||||||
where: { runId: this.currentRunId! },
|
where: { runId: this.currentRunId! },
|
||||||
transaction
|
transaction
|
||||||
|
|||||||
Reference in New Issue
Block a user