mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:10:11 +00:00
Store creation date
This commit is contained in:
parent
0f4920dca8
commit
cfb9b73205
2 changed files with 4 additions and 2 deletions
|
@ -61,6 +61,7 @@ class Token extends BaseApi
|
|||
DI::mstdnError()->RecordNotFound();
|
||||
}
|
||||
|
||||
System::jsonExit(['access_token' => $token['access_token'], 'token_type' => 'Bearer', 'scope' => $application['scopes']]);
|
||||
// @todo Use entity class
|
||||
System::jsonExit(['access_token' => $token['access_token'], 'token_type' => 'Bearer', 'scope' => $application['scopes'], 'created_at' => $token['created_at']]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue