From ae00290b6fddf090565e8d04e471d18ed3746ba4 Mon Sep 17 00:00:00 2001 From: Lucas Smith Date: Wed, 28 Feb 2024 04:34:33 +0000 Subject: [PATCH] fix: add reference to swagger docs --- apps/web/src/app/(dashboard)/settings/tokens/page.tsx | 11 ++++++++++- .../app/(teams)/t/[teamUrl]/settings/tokens/page.tsx | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/(dashboard)/settings/tokens/page.tsx b/apps/web/src/app/(dashboard)/settings/tokens/page.tsx index 8951098c4..a62775522 100644 --- a/apps/web/src/app/(dashboard)/settings/tokens/page.tsx +++ b/apps/web/src/app/(dashboard)/settings/tokens/page.tsx @@ -1,5 +1,6 @@ import { DateTime } from 'luxon'; +import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app'; import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session'; import { getUserTokens } from '@documenso/lib/server-only/public-api/get-all-user-tokens'; import { Button } from '@documenso/ui/primitives/button'; @@ -18,7 +19,15 @@ export default async function ApiTokensPage() {

API Tokens

- On this page, you can create new API tokens and manage the existing ones. + On this page, you can create new API tokens and manage the existing ones.
+ You can view our swagger docs{' '} + + here +


diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx index 2b775d32c..eedae29d1 100644 --- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx +++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx @@ -1,5 +1,6 @@ import { DateTime } from 'luxon'; +import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app'; import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session'; import { getTeamTokens } from '@documenso/lib/server-only/public-api/get-all-team-tokens'; import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team'; @@ -29,7 +30,15 @@ export default async function ApiTokensPage({ params }: ApiTokensPageProps) {

API Tokens

- On this page, you can create new API tokens and manage the existing ones. + On this page, you can create new API tokens and manage the existing ones.
+ You can view our swagger docs{' '} + + here +