Skip to content

Commit

Permalink
undo result split
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Jan 9, 2025
1 parent 4598867 commit 8ee7353
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions common/PathdbMods.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ async function PathDbMods() {
text: response.statusText,
url: response.url
};
let result = response.json().then(x=>convertPathDbSlide(x[0])).then(x => [x])
return result;
return response.json().then(x=>convertPathDbSlide(x[0])).then(x => [x]);
})
}
Store.prototype.default_getSlide = Store.prototype.getSlide
Expand All @@ -132,8 +131,7 @@ async function PathDbMods() {
text: response.statusText,
url: response.url
};
let result = response.json().then(convertPathDbSlide).then(x => [x]);
return result;
return response.json().then(convertPathDbSlide).then(x => [x]);;
})
}

Expand Down

0 comments on commit 8ee7353

Please sign in to comment.