0
0
Fork 0
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:
Dan Brown 2023-02-18 13:51:18 +00:00
parent fd45d280b4
commit 55456a57d6
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
4 changed files with 234 additions and 5 deletions
app/Http/Controllers/Api

View file

@ -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',
];