mirror of
https://github.com/openclassify/openclassify.git
synced 2026-03-09 09:45:26 -05:00
parent
15ffa5646b
commit
a16e6c63a5
@ -24,4 +24,11 @@ if (!function_exists('get_buyables'))
|
||||
function get_buyables() {
|
||||
return dispatch_now(new GetBuyables());
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('auth_id_if_null'))
|
||||
{
|
||||
function auth_id_if_null($userId) {
|
||||
return $userId ?: auth()->id();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user