mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-09 02:20:09 +00:00
Added tests for not-yet-built role API endpoints
This commit is contained in:
parent
fd45d280b4
commit
55456a57d6
4 changed files with 234 additions and 5 deletions
app/Http/Controllers/Api
|
@ -13,9 +13,9 @@ use Illuminate\Validation\Rules\Unique;
|
|||
|
||||
class UserApiController extends ApiController
|
||||
{
|
||||
protected $userRepo;
|
||||
protected UserRepo $userRepo;
|
||||
|
||||
protected $fieldsToExpose = [
|
||||
protected array $fieldsToExpose = [
|
||||
'email', 'created_at', 'updated_at', 'last_activity_at', 'external_auth_id',
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue