Skip to content

Commit

Permalink
Update with new Landing Page
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunnin committed Aug 11, 2023
1 parent d31e275 commit 42136e4
Show file tree
Hide file tree
Showing 89 changed files with 2,931 additions and 1,924 deletions.
18 changes: 9 additions & 9 deletions ui/app/api-tokens/page.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { getServerSession } from "next-auth/next";
import { options } from "@/lib/next-auth";
import ApiTokensClientPage from "./client-page";
import Api from "@/lib/api";
import { getServerSession } from "next-auth/next"
import { options } from "@/lib/next-auth"
import ApiTokensClientPage from "./client-page"
import Api from "@/lib/api"

export const metadata = {
title: "Api tokens | Superagent",
description: "Manage your api tokens",
};
}

export default async function ApiTokens() {
const session = await getServerSession(options);
const api = new Api(session);
const apiTokens = await api.getApiTokens();
const session = await getServerSession(options)
const api = new Api(session)
const apiTokens = await api.getApiTokens()

return <ApiTokensClientPage data={apiTokens} session={session} />;
return <ApiTokensClientPage data={apiTokens} session={session} />
}
Loading

0 comments on commit 42136e4

Please sign in to comment.