fix: type errors
This commit is contained in:
@@ -14,7 +14,7 @@ import Run from '../models/Run';
|
|||||||
import { BinaryOutputService } from '../storage/mino';
|
import { BinaryOutputService } from '../storage/mino';
|
||||||
import { workflowQueue } from '../worker';
|
import { workflowQueue } from '../worker';
|
||||||
import { AuthenticatedRequest } from './record';
|
import { AuthenticatedRequest } from './record';
|
||||||
import computeNextRun from '../utils/schedule';
|
import { computeNextRun } from '../utils/schedule';
|
||||||
|
|
||||||
export const router = Router();
|
export const router = Router();
|
||||||
|
|
||||||
@@ -343,7 +343,7 @@ router.put('/schedule/:id/', requireSignIn, async (req: AuthenticatedRequest, re
|
|||||||
timezone,
|
timezone,
|
||||||
cronExpression,
|
cronExpression,
|
||||||
lastRunAt: undefined,
|
lastRunAt: undefined,
|
||||||
nextRunAt,
|
nextRunAt: nextRunAt || undefined,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user