]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use the proper names when setting entity types 15148/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 18 Apr 2019 06:44:04 +0000 (08:44 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 18 Apr 2019 19:10:52 +0000 (21:10 +0200)
Else this does :boom:

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/oauth2/lib/Db/AccessToken.php

index 8266a9a006824642f40bfebc089030654e5b05cd..24ff7ac82785bf57a67bdf14379c213b5dce1d5a 100644 (file)
@@ -45,9 +45,9 @@ class AccessToken extends Entity {
 
        public function __construct() {
                $this->addType('id', 'int');
-               $this->addType('token_id', 'int');
-               $this->addType('client_id', 'int');
-               $this->addType('hashed_code', 'string');
-               $this->addType('encrypted_token', 'string');
+               $this->addType('tokenId', 'int');
+               $this->addType('clientId', 'int');
+               $this->addType('hashedCode', 'string');
+               $this->addType('encryptedToken', 'string');
        }
 }