mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 16:24:29 +00:00
Update v1.1 api
This commit is contained in:
parent
613e98ce09
commit
34b57783c4
1 changed files with 1 additions and 0 deletions
|
@ -265,6 +265,7 @@ class ApiV1Dot1Controller extends Controller
|
|||
$activity = AccountLog::whereUserId($user->id)
|
||||
->whereAction('auth.login')
|
||||
->orderBy('created_at', 'desc')
|
||||
->groupBy('ip_address')
|
||||
->limit(10)
|
||||
->get()
|
||||
->map(function($item) use($agent, $currentIp) {
|
||||
|
|
Loading…
Reference in a new issue