Skip to content

Commit 8fffbb2

Browse files
authored
Merge pull request #214 from takker99:import-pages
fix(REST API): `init` in `importPages` can be optional.
2 parents 65d1930 + 4473453 commit 8fffbb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest/page-data.ts

+1-1
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)