Skip to content

Commit

Permalink
feat: add show method
Browse files Browse the repository at this point in the history
  • Loading branch information
halivert committed Aug 23, 2023
1 parent a7f160b commit c4b2605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/API/CreditCard/v1/CreditCardController.php
Expand Up @@ -45,9 +45,9 @@ public function store(StoreCreditCardRequest $request): JsonResponse
/**
* Display the specified resource.
*/
public function show(CreditCard $creditCard): void
public function show(CreditCard $creditCard): JsonResponse
{
//
return response()->json(new CreditCardResource($creditCard));
}

/**
Expand Down

0 comments on commit c4b2605

Please sign in to comment.