Skip to content

Commit c4ac2f9

Browse files
authored
Update ApiKeyController.php
1 parent 155e339 commit c4ac2f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Http/Controllers/ApiKeyController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public function store(StoreApiKeyRequest $request, $user_id)
8181
->toArray();
8282

8383
$result["meta"]["secret_token"] = $token->plainTextToken;
84+
$result["attributes"]["secret_token"] = $token->plainTextToken;
8485
return $result;
8586
}
8687

0 commit comments

Comments
 (0)