Skip to content

Commit 4598867

Browse files
authored
Update PathdbMods.js
1 parent 9fee5fc commit 4598867

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

common/PathdbMods.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ async function PathDbMods() {
110110
text: response.statusText,
111111
url: response.url
112112
};
113-
return response.json().then(x=>convertPathDbSlide(x[0])).then(x => [x]);
113+
let result = response.json().then(x=>convertPathDbSlide(x[0])).then(x => [x])
114+
return result;
114115
})
115116
}
116117
Store.prototype.default_getSlide = Store.prototype.getSlide
@@ -131,7 +132,8 @@ async function PathDbMods() {
131132
text: response.statusText,
132133
url: response.url
133134
};
134-
return response.json().then(convertPathDbSlide).then(x => [x]);
135+
let result = response.json().then(convertPathDbSlide).then(x => [x]);
136+
return result;
135137
})
136138
}
137139

0 commit comments

Comments
 (0)