Merge pull request #15148 from nextcloud/fix/oauth2_string_to_int

Fix mapper not properly casting int in oauth2 code
This commit is contained in:
Roeland Jago Douma 2019-04-24 15:45:03 +02:00 committed by GitHub
commit 5c6deb1113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

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