Skip to content

Commit e71bb7d

Browse files
authored
Update README.md
1 parent 932e76e commit e71bb7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ echo $create;
3939
Update a Permission
4040
```php
4141
$data = [
42-
'data_id' => permission id // 3,
42+
'data_id' => permission id from Obrainwave\AccessTree\Models\ // 3,
4343
'name' => 'Add User',
4444
'status' => 1 or 0
4545
];
@@ -73,7 +73,7 @@ echo $update;
7373
Create User Role
7474
```php
7575
$roles = array of roles // array(2, 5);
76-
$user_id = id of a user from laravel User Model // 1;
76+
$user_id = id of a user from App\Models\User // 1;
7777
$user_role = createUserRole($roles, $user_id);
7878
echo $user_role;
7979
```

0 commit comments

Comments
 (0)