Skip to content

Commit 4473453

Browse files
committed
fix(REST API): init in importPages can be optional.
1 parent 65d1930 commit 4473453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest/page-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export type ImportPagesError = HTTPError;
3333
export const importPages = async (
3434
project: string,
3535
data: ImportedData<boolean>,
36-
init: ExtendedOptions,
36+
init?: ExtendedOptions,
3737
): Promise<
3838
Result<string, ImportPagesError | FetchError>
3939
> => {

0 commit comments

Comments
 (0)