feat: initial api endpoints
feat: server resources are now looks better
This commit is contained in:
7
bootstrap/helpers/api.php
Normal file
7
bootstrap/helpers/api.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
function get_team_id_from_token()
|
||||
{
|
||||
$token = auth()->user()->currentAccessToken();
|
||||
return data_get($token, 'team_id');
|
||||
}
|
Reference in New Issue
Block a user