1
0
Fork 0
forked from mirror/pixelfed

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'
]);