mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: opt code
This commit is contained in:
		| @@ -27,9 +27,8 @@ class CommController extends Controller | ||||
|             ->where('payment', 'StripeCredit') | ||||
|             ->first(); | ||||
|         if (!$payment) abort(500, 'payment is not found'); | ||||
|         $config = json_decode($payment->config, true); | ||||
|         return response([ | ||||
|             'data' => $config['stripe_pk_live'] | ||||
|             'data' => $payment->config['stripe_pk_live'] | ||||
|         ]); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user