tangning 4 miesięcy temu
rodzic
commit
21c5e9f630
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/view/case/draw/board/index.js

+ 1 - 1
src/view/case/draw/board/index.js

@@ -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;