Skip to content

Commit b4f104d

Browse files
committed
Update ProjectFactory.js
1 parent 7227a9e commit b4f104d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

classes/Project/ProjectFactory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import User from "../User/User.js"
44
import Layer from "../Layer/Layer.js"
55
import dbDriver from "../../database/driver.js"
66
import vault from "../../utilities/vault.js"
7-
import { imageSize } from 'image-size';
7+
import imageSize from 'image-size';
88

99
const database = new dbDriver("mongo")
1010

@@ -254,7 +254,7 @@ export default class ProjectFactory {
254254
id: `${process.env.TPENSTATIC}/${_id}/manifest.json`,
255255
type: "Manifest",
256256
label: { "none": [label] },
257-
items: [ ...canvasLayout ]
257+
items: [ canvasLayout ]
258258
}
259259

260260
const projectCanvas = {

0 commit comments

Comments
 (0)