Skip to content

Commit 4877d6b

Browse files
committed
chore: add res
1 parent 37de349 commit 4877d6b

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/authenticate/device-authorization-flow

1 file changed

+1
-1
lines changed

src/content/docs/authenticate/device-authorization-flow/api-calls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function authenticateToken(req, res, next) {
159159
Handle common token-related errors:
160160

161161
```javascript
162-
function handleTokenError(error) {
162+
function handleTokenError(res, error) {
163163
switch (error.error) {
164164
case "invalid_token":
165165
// Token is invalid or expired

0 commit comments

Comments
 (0)