From a3c10541f945068265d93ae83753dda0ac361164 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 24 Apr 2019 23:59:29 +0200 Subject: Fixed some minor typos Co-authored-by: LarsVomMars --- src/main/kotlin/FileController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/FileController.kt') 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) } } -- cgit v1.2.3