From af73a2ecc00b0c09ad7615053bedfd015415a987 Mon Sep 17 00:00:00 2001 From: tracer Date: Mon, 24 Jan 2022 19:01:32 +0100 Subject: [PATCH] added name to columns Signed-off-by: tracer --- src/Controller/ApiKeys.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/ApiKeys.php b/src/Controller/ApiKeys.php index e368e0f..dc9dc7d 100644 --- a/src/Controller/ApiKeys.php +++ b/src/Controller/ApiKeys.php @@ -98,7 +98,7 @@ class ApiKeys $sql = " INSERT INTO " . DatabaseConnection::TABLE_USER . " (name, api_token_prefix, api_token) - VALUES (:token_prefix, :token)"; + VALUES (:name, :token_prefix, :token)"; try { $statement = $this->databaseConnection->getConnection()->prepare($sql);