8 lines
136 B
PHP
8 lines
136 B
PHP
|
<?php
|
||
|
|
||
|
function get_team_id_from_token()
|
||
|
{
|
||
|
$token = auth()->user()->currentAccessToken();
|
||
|
return data_get($token, 'team_id');
|
||
|
}
|