mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 01:36:43 +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',
|
'subject' => 'Confirm Email',
|
||||||
'to_address' => $user->email,
|
'to_address' => $user->email,
|
||||||
'from_address' => $from,
|
'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();
|
->toArray();
|
||||||
|
@ -344,7 +344,7 @@ class ApiV1Dot1Controller extends Controller
|
||||||
'subject' => 'Reset Password Notification',
|
'subject' => 'Reset Password Notification',
|
||||||
'to_address' => $user->email,
|
'to_address' => $user->email,
|
||||||
'from_address' => $from,
|
'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();
|
->toArray();
|
||||||
|
@ -361,7 +361,7 @@ class ApiV1Dot1Controller extends Controller
|
||||||
'subject' => 'Password Change',
|
'subject' => 'Password Change',
|
||||||
'to_address' => $user->email,
|
'to_address' => $user->email,
|
||||||
'from_address' => $from,
|
'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();
|
->toArray();
|
||||||
|
|
Loading…
Reference in a new issue