Merge pull request #15215 from nextcloud/backport/15148/stable16
[stable16] Fix mapper not properly casting int in oauth2 code
This commit is contained in:
commit
06a05700aa
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue