We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b7eea3 + e8ab4aa commit 0909588Copy full SHA for 0909588
lib/Controller/PushController.php
@@ -154,7 +154,7 @@ public function removeDevice(): DataResponse {
154
return new DataResponse([], Http::STATUS_UNAUTHORIZED);
155
}
156
157
- $tokenId = $this->session->get('token-id');
+ $tokenId = (int)$this->session->get('token-id');
158
try {
159
$token = $this->tokenProvider->getTokenById($tokenId);
160
} catch (InvalidTokenException $e) {
0 commit comments