diff --git a/public/js/upload.js b/public/js/upload.js index 35208f3..d496e0f 100644 --- a/public/js/upload.js +++ b/public/js/upload.js @@ -8,7 +8,7 @@ upload.checkIfPublic = function(){ axios.get('/api/check') .then(function (response) { - upload.isPublic = response.data.private; + upload.isPrivate= response.data.private; upload.maxFileSize = response.data.maxFileSize; upload.preparePage(); })