Skip to content

Commit

Permalink
Removed create from saved object
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomThomson committed Jul 7, 2020
1 parent d3af35e commit b0b8745
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ export class BookEmbeddableFactoryDefinition
return true;
}

public createFromSavedObject = async (
savedObjectId: string,
input: BookEmbeddableInput,
parent?: IContainer
): Promise<BookEmbeddable | ErrorEmbeddable> => {
return this.create(input, parent);
};

public async create(input: BookEmbeddableInput, parent?: IContainer) {
return new BookEmbeddable(input, await this.getAttributeService(), {
parent,
Expand Down

0 comments on commit b0b8745

Please sign in to comment.