Skip to content

Commit a31bebb

Browse files
committed
update
1 parent 50a30b3 commit a31bebb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/fal_ai/actions/add-request-to-queue/add-request-to-queue.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ export default {
7070
run: {
7171
runs, callback_request: callbackRequest,
7272
},
73-
} = context;
73+
} = context || {
74+
run: {
75+
runs: 1,
76+
callback_request: undefined,
77+
},
78+
};
7479

7580
const {
7681
app,

0 commit comments

Comments
 (0)