|
@@ -102,7 +102,7 @@ export const create = async (store, canvas) => {
|
|
|
const url = await fetch(bgImage)
|
|
|
.then((res) => res.blob())
|
|
|
.then((blob) =>
|
|
|
- uploadNewFile(new File([blob], (store.id || "image") + ".png"))
|
|
|
+ uploadFile(new File([blob], (store.id || "image") + ".png"))
|
|
|
);
|
|
|
|
|
|
floor.bgImage.url = url;
|