Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-04-18 09:44:04 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-04-18 22:10:52 +0300
commit21d542f9538d10f966720866f830b27c342e889f (patch)
tree3de4439551f7094f7dce0ea372ddd7ecd4b7d9f1 /apps/oauth2/lib
parentf5d0f746f9aff3df3bfd206a02270a7969701c4a (diff)
Use the proper names when setting entity types
Else this does :boom: Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/oauth2/lib')
-rw-r--r--apps/oauth2/lib/Db/AccessToken.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/oauth2/lib/Db/AccessToken.php b/apps/oauth2/lib/Db/AccessToken.php
index 8266a9a0068..24ff7ac8278 100644
--- a/apps/oauth2/lib/Db/AccessToken.php
+++ b/apps/oauth2/lib/Db/AccessToken.php
@@ -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');
}
}