mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:10:11 +00:00
Fix context order / notice fixed
This commit is contained in:
parent
97a6ea0e79
commit
8eacfbc570
3 changed files with 19 additions and 4 deletions
|
@ -55,7 +55,7 @@ class Token extends BaseApi
|
|||
|
||||
$condition = ['application-id' => $application['id'], 'code' => $code];
|
||||
|
||||
$token = DBA::selectFirst('application-token', ['access_token'], $condition);
|
||||
$token = DBA::selectFirst('application-token', ['access_token', 'created_at'], $condition);
|
||||
if (!DBA::isResult($token)) {
|
||||
Logger::warning('Token not found', $condition);
|
||||
DI::mstdnError()->RecordNotFound();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue