chore: Refactor data import (#3434)
* Complete refactor of import * feat: Notion data import (#3442)
This commit is contained in:
@@ -98,9 +98,10 @@ export default class CollectionsStore extends BaseStore<Collection> {
|
||||
}
|
||||
|
||||
@action
|
||||
import = async (attachmentId: string) => {
|
||||
import = async (attachmentId: string, format?: string) => {
|
||||
await client.post("/collections.import", {
|
||||
type: "outline",
|
||||
format,
|
||||
attachmentId,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user