We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abbc489 + e2b4935 commit 63f1a59Copy full SHA for 63f1a59
docs/guides/api-tokens.md docs/guides/api_tokens.mddocs/guides/api-tokens.md renamed to docs/guides/api_tokens.md
@@ -8,7 +8,7 @@ The `generateAccessToken()` method requires a name for the token. These are free
8
9
```php
10
$routes->get('/access/token', static function() {
11
- $token = auth()->user()->generateAccessToken(service('request')->getVar('token_name));
+ $token = auth()->user()->generateAccessToken(service('request')->getVar('token_name'));
12
13
return json_encode(['token' => $token->raw_token]);
14
});
docs/index.md
@@ -11,4 +11,4 @@
* [Customization](customization.md)
Guides:
-* [Protecting an API with Access Tokens](guides/api-tokens.md)
+* [Protecting an API with Access Tokens](guides/api_tokens.md)
0 commit comments