Add labels and state to savePage API

This commit is contained in:
Hongbo Wu
2023-03-05 22:53:27 +08:00
parent fcf08fc364
commit 87d3f5b3d8
9 changed files with 68 additions and 21 deletions

View File

@ -90,7 +90,9 @@ const importURL = async (
url: url.toString(),
saveRequestId: uuid(),
state,
labels,
labels: labels?.map((l) => {
return { name: l }
}),
})
}