1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 16:53:17 +00:00

Update ApiV1Controller, fix update_credentials endpoint

This commit is contained in:
Daniel Supernault 2020-02-19 19:57:30 -07:00
parent a43311f952
commit a73fad75b0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -152,7 +152,7 @@ class ApiV1Controller extends Controller
$this->validate($request, [
'display_name' => 'nullable|string',
'note' => 'nullable|string',
'locked' => 'nullable|boolean',
'locked' => 'nullable',
// 'source.privacy' => 'nullable|in:unlisted,public,private',
// 'source.sensitive' => 'nullable|boolean'
]);