aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/FileController.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/FileController.kt')
-rw-r--r--src/main/kotlin/FileController.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/FileController.kt b/src/main/kotlin/FileController.kt
index 1d5bada..673e425 100644
--- a/src/main/kotlin/FileController.kt
+++ b/src/main/kotlin/FileController.kt
@@ -237,9 +237,9 @@ class FileController {
}
fun handleSharedFile(ctx: Context) {
- val fileName = ctx.formParam("fileName").toString()
+ val filename = ctx.formParam("filename").toString()
val accessId = ctx.formParam("accessId").toString()
- val returnAccessId = databaseController.getAccessIdOfDirectory(fileName, accessId)
+ val returnAccessId = databaseController.getAccessIdOfDirectory(filename, accessId)
ctx.result(returnAccessId)
}
}