Skip to content

Commit 16c6e0b

Browse files
committed
feat: example of marking something as deprecated
1 parent 02c22f9 commit 16c6e0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/next-drupal/src/deprecated/get-access-token.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { AccessToken } from "../types"
33

44
const CACHE_KEY = "NEXT_DRUPAL_ACCESS_TOKEN"
55

6+
/** @deprecated */
67
export async function getAccessToken(): Promise<AccessToken> {
78
if (!process.env.DRUPAL_CLIENT_ID || !process.env.DRUPAL_CLIENT_SECRET) {
89
return null

0 commit comments

Comments
 (0)