This commit is contained in:
Dane Everitt 2017-03-16 19:56:58 -04:00
parent 1aa191210a
commit b8c3ab6960
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 2 additions and 1 deletions

View file

@ -52,7 +52,7 @@ class APIController extends Controller
{
try {
$repo = new APIRepository($request->user());
$secret = $repo->create($request->only([
$secret = $repo->create($request->intersect([
'memo', 'allowed_ips',
'adminPermissions', 'permissions',
]));