mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
frontend update
This commit is contained in:
@@ -83,6 +83,12 @@ class UserController extends Controller
|
||||
*/
|
||||
public function subscription($id)
|
||||
{
|
||||
$user = User::find($id);
|
||||
|
||||
if (! $user->stripeId()) {
|
||||
return response('User is not stripe customer', 404);
|
||||
}
|
||||
|
||||
return new UserSubscription(
|
||||
User::find($id)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user