Skip to content

Commit 304826b

Browse files
committed
Suggestions
1 parent 83a58fd commit 304826b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/server/api/src/app/flows/common/flow-validations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export async function assertFlowVersionBelongsToProject(
1616
projectId,
1717
});
1818

19-
if (flow === null || flow === undefined) {
19+
if (flow == null) {
2020
throw new ApplicationError({
2121
code: ErrorCode.AUTHORIZATION,
2222
params: {

packages/server/api/src/app/flows/flow/flow-version.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const flowVersionController: FastifyPluginAsyncTypebox = async (
144144
}),
145145
},
146146
},
147-
async (request, _reply) => {
147+
async (request) => {
148148
const { stepIds } = request.query;
149149
const { flowVersionId } = request.params;
150150

0 commit comments

Comments
 (0)