Skip to content

Commit

Permalink
Merge branch 'feature/create-shop-api' of https://github.com/openfood…
Browse files Browse the repository at this point in the history
…foundation/vine into feature/create-shop-api
  • Loading branch information
ok200paul committed Aug 19, 2024
2 parents 7b2299c + 2dd5b4d commit 7c23686
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/Http/Controllers/Api/V1/ApiShopsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function store(): JsonResponse

$this->message = ApiResponse::RESPONSE_SAVED->value . '. Here is the API Token for the user linked to this new team. It will only be displayed ONCE, so please store it in a secure manner.';
$this->data = [
'token' => $token->plainTextToken
'token' => $token->plainTextToken,
];

}
Expand All @@ -153,6 +153,8 @@ public function store(): JsonResponse

/**
* @hideFromAPIDocumentation
*
* @param int $id
*/
public function show(int $id)
{
Expand All @@ -164,6 +166,8 @@ public function show(int $id)

/**
* @hideFromAPIDocumentation
*
* @param string $id
*/
public function update(string $id)
{
Expand All @@ -175,6 +179,8 @@ public function update(string $id)

/**
* @hideFromAPIDocumentation
*
* @param string $id
*/
public function destroy(string $id)
{
Expand Down

0 comments on commit 7c23686

Please sign in to comment.