Skip to content

Commit

Permalink
return json from request
Browse files Browse the repository at this point in the history
  • Loading branch information
faxblaster committed Jul 20, 2021
1 parent 57409cd commit 62a6cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/StripeChargesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public function show($id)

public function refund($id)
{
return (new StripeClient)->refundCharge($id);
return response()->json((new StripeClient)->refundCharge($id));
}
}

0 comments on commit 62a6cb0

Please sign in to comment.