mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 17:26:43 +00:00
Update ApiV1Controller, fix update_credentials endpoint
This commit is contained in:
parent
a43311f952
commit
a73fad75b0
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class ApiV1Controller extends Controller
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'display_name' => 'nullable|string',
|
'display_name' => 'nullable|string',
|
||||||
'note' => 'nullable|string',
|
'note' => 'nullable|string',
|
||||||
'locked' => 'nullable|boolean',
|
'locked' => 'nullable',
|
||||||
// 'source.privacy' => 'nullable|in:unlisted,public,private',
|
// 'source.privacy' => 'nullable|in:unlisted,public,private',
|
||||||
// 'source.sensitive' => 'nullable|boolean'
|
// 'source.sensitive' => 'nullable|boolean'
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue