Skip to content

Commit 63cbdcf

Browse files
committed
Fix OrcaWorker not having default for options in create
1 parent adcfc9b commit 63cbdcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binding/web/src/orca_worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export class OrcaWorker {
311311
public static async create(
312312
accessKey: string,
313313
model: OrcaModel,
314-
options: OrcaOptions
314+
options: OrcaOptions = {}
315315
): Promise<OrcaWorker> {
316316
const customWritePath = model.customWritePath
317317
? model.customWritePath

0 commit comments

Comments
 (0)