mirror of
https://github.com/boxgaming/qbjs.git
synced 2024-09-19 20:14:58 +00:00
removed unused contentType parameter from getFile
This commit is contained in:
parent
c9c7d6a25d
commit
43ee813e0b
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getFile(path, type, contentType) {
|
async function getFile(path, type) {
|
||||||
var file = await fetch(path);
|
var file = await fetch(path);
|
||||||
if (type == "text") {
|
if (type == "text") {
|
||||||
return await file.text();
|
return await file.text();
|
||||||
|
|
Loading…
Reference in a new issue