Code style
This commit is contained in:
parent
82003bbe47
commit
c9e6fea74b
|
@ -54,6 +54,7 @@ class Token extends BaseApi
|
||||||
}
|
}
|
||||||
|
|
||||||
$condition = ['application-id' => $application['id'], 'code' => $code];
|
$condition = ['application-id' => $application['id'], 'code' => $code];
|
||||||
|
|
||||||
$token = DBA::selectFirst('application-token', ['access_token'], $condition);
|
$token = DBA::selectFirst('application-token', ['access_token'], $condition);
|
||||||
if (!DBA::isResult($token)) {
|
if (!DBA::isResult($token)) {
|
||||||
Logger::warning('Token not found', $condition);
|
Logger::warning('Token not found', $condition);
|
||||||
|
|
Loading…
Reference in a new issue