feat: Implement VNPAY callback redirection to frontend and add UUID/public code to transactions.
This commit is contained in:
@@ -81,7 +81,12 @@ class ClientController extends Controller
|
||||
*/
|
||||
public function me()
|
||||
{
|
||||
return new ClientResource(auth('client')->user());
|
||||
return response()->json([
|
||||
'error' => false,
|
||||
'data' => [
|
||||
'client' => new ClientResource(auth('client')->user()),
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user