mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update v1.1 api
This commit is contained in:
parent
fa88cf4ea6
commit
12f9539054
1 changed files with 3 additions and 3 deletions
|
@ -327,7 +327,7 @@ class ApiV1Dot1Controller extends Controller
|
|||
'subject' => 'Confirm Email',
|
||||
'to_address' => $user->email,
|
||||
'from_address' => $from,
|
||||
'created_at' => $mail->created_at->format('c')
|
||||
'created_at' => str_replace('@', 'at', $mail->created_at->format('M j, Y @ g:i:s A'))
|
||||
];
|
||||
})
|
||||
->toArray();
|
||||
|
@ -344,7 +344,7 @@ class ApiV1Dot1Controller extends Controller
|
|||
'subject' => 'Reset Password Notification',
|
||||
'to_address' => $user->email,
|
||||
'from_address' => $from,
|
||||
'created_at' => now()->parse($mail->created_at)->format('c')
|
||||
'created_at' => str_replace('@', 'at', now()->parse($mail->created_at)->format('M j, Y @ g:i:s A'))
|
||||
];
|
||||
})
|
||||
->toArray();
|
||||
|
@ -361,7 +361,7 @@ class ApiV1Dot1Controller extends Controller
|
|||
'subject' => 'Password Change',
|
||||
'to_address' => $user->email,
|
||||
'from_address' => $from,
|
||||
'created_at' => now()->parse($mail->created_at)->format('c')
|
||||
'created_at' => str_replace('@', 'at', now()->parse($mail->created_at)->format('M j, Y @ g:i:s A'))
|
||||
];
|
||||
})
|
||||
->toArray();
|
||||
|
|
Loading…
Reference in a new issue