added name to columns

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-01-24 19:01:32 +01:00
parent 5336a0bde8
commit af73a2ecc0

View File

@ -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);