fixed common api endpoints
This commit is contained in:
		
							
								
								
									
										28
									
								
								app/Events/Auth/ApiPermissionsAssigning.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								app/Events/Auth/ApiPermissionsAssigning.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace App\Events\Auth;
 | 
			
		||||
 | 
			
		||||
use App\Abstracts\Event;
 | 
			
		||||
 | 
			
		||||
class ApiPermissionsAssigning extends Event
 | 
			
		||||
{
 | 
			
		||||
    public $permission;
 | 
			
		||||
 | 
			
		||||
    public $table;
 | 
			
		||||
 | 
			
		||||
    public $type;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new event instance.
 | 
			
		||||
     *
 | 
			
		||||
     * @param $permission
 | 
			
		||||
     * @param $table
 | 
			
		||||
     * @param $type
 | 
			
		||||
     */
 | 
			
		||||
    public function __construct($permission, $table, $type)
 | 
			
		||||
    {
 | 
			
		||||
        $this->permission = $permission;
 | 
			
		||||
        $this->table = $table;
 | 
			
		||||
        $this->type = $type;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user