Create and Edit update with icon field

This commit is contained in:
Bubka
2020-01-02 00:09:19 +01:00
parent a5858093b0
commit 20a2d40a85
4 changed files with 106 additions and 54 deletions

View File

@ -32,7 +32,8 @@ class TwoFAccountController extends Controller
$twofaccount = TwoFAccount::create([
'name' => $request->name,
'email' => $request->email,
'uri' => $request->uri
'uri' => $request->uri,
'icon' => $request->icon
]);
return response()->json($twofaccount, 201);