Ver Fonte

fix: google sheets error not showing

Ahmad Kholid há 3 anos atrás
pai
commit
7967127f16

+ 1 - 1
src/components/newtab/workflow/edit/EditGoogleSheets.vue

@@ -248,7 +248,7 @@ async function previewData() {
     if (!response.ok) {
       const error = await response.json();
 
-      throw new Error(error.statusMessage || response.statusText);
+      throw new Error(error.message || response.statusText);
     }
 
     let result = await response.json();