Skip to content

Commit 06a0570

Browse files
authored
Merge pull request #15215 from nextcloud/backport/15148/stable16
[stable16] Fix mapper not properly casting int in oauth2 code
2 parents d3e6feb + 9078942 commit 06a0570

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

apps/oauth2/lib/Db/AccessToken.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ class AccessToken extends Entity {
4545

4646
public function __construct() {
4747
$this->addType('id', 'int');
48-
$this->addType('token_id', 'int');
49-
$this->addType('client_id', 'int');
50-
$this->addType('hashed_code', 'string');
51-
$this->addType('encrypted_token', 'string');
48+
$this->addType('tokenId', 'int');
49+
$this->addType('clientId', 'int');
50+
$this->addType('hashedCode', 'string');
51+
$this->addType('encryptedToken', 'string');
5252
}
5353
}

0 commit comments

Comments
 (0)