浏览代码

Fixed public upload. Whoopsies

Pitu 8 年之前
父节点
当前提交
e9b3ecbd05
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/js/upload.js

+ 1 - 1
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();
   	})