diff --git a/typescript/translucid/Translucid.js b/typescript/translucid/Translucid.js index 1bb5750..5ea99d6 100644 --- a/typescript/translucid/Translucid.js +++ b/typescript/translucid/Translucid.js @@ -25,7 +25,7 @@ class Translucid { const object = JSON.parse(json); for (let i in object) { const classes = object[i].classes || []; - const sendAsFiles = object[i].sendFiles; + const sendFiles = object[i].sendFiles; if (sendFiles != false) sendFiles = true; this.bind(i, object[i].file, classes, sendFiles); diff --git a/typescript/translucid/Translucid.ts b/typescript/translucid/Translucid.ts index 3fee2a9..2cb5110 100644 --- a/typescript/translucid/Translucid.ts +++ b/typescript/translucid/Translucid.ts @@ -30,7 +30,7 @@ class Translucid { for (let i in object){ const classes = object[i].classes || []; - const sendAsFiles = object[i].sendFiles; + const sendFiles = object[i].sendFiles; if (sendFiles != false) sendFiles = true; this.bind(i,object[i].file,classes,sendFiles); }