fix file id

This commit is contained in:
2020-01-21 15:49:03 +01:00
parent 96fe2ce1f6
commit 69ce4dcaee

View File

@@ -103,8 +103,8 @@ function uploadsFinished() {
let uploadLog = uploader.finishedUploads();
if (uploadLog.length === 1) {
shareTitle = "Download "+uploadLog[0].name+" here";
shareLink = domainURL()+"/u/"+uploadLog[0].id;
shareTitle = "Download "+uploadLog[0].fileName+" here";
shareLink = domainURL()+"/u/"+uploadLog[0].fileID;
showShareButtons();
} else if (uploadLog.length > 1) {