diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-24 13:31:54 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-24 13:31:54 +0100 |
| commit | f8a415632bbbe08e51ac5944343cb0bbf092bf2f (patch) | |
| tree | 80b8088ec59e11c3bd2917a7b5ee1b663dc81460 /communities/174bg/174bg.net/src/app/secure/discord-data | |
| parent | e2066f51523ecba0f1991edd0c2b94f8f4cd1820 (diff) | |
| download | unnamed-group-f8a415632bbbe08e51ac5944343cb0bbf092bf2f.tar unnamed-group-f8a415632bbbe08e51ac5944343cb0bbf092bf2f.tar.gz unnamed-group-f8a415632bbbe08e51ac5944343cb0bbf092bf2f.tar.bz2 unnamed-group-f8a415632bbbe08e51ac5944343cb0bbf092bf2f.tar.xz unnamed-group-f8a415632bbbe08e51ac5944343cb0bbf092bf2f.zip | |
remove all except handbook
Diffstat (limited to 'communities/174bg/174bg.net/src/app/secure/discord-data')
| -rw-r--r-- | communities/174bg/174bg.net/src/app/secure/discord-data/page.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/communities/174bg/174bg.net/src/app/secure/discord-data/page.js b/communities/174bg/174bg.net/src/app/secure/discord-data/page.js deleted file mode 100644 index b906569..0000000 --- a/communities/174bg/174bg.net/src/app/secure/discord-data/page.js +++ /dev/null @@ -1,24 +0,0 @@ -import { auth } from "@/auth"; -import { headers } from "next/headers"; - -export default async function DiscordData() { - const session = await auth.api.getSession({ headers: await headers() }); - const accounts = await auth.api.listUserAccounts({ - headers: await headers(), - }); - const discordAccount = accounts?.find((a) => a.provider === "discord"); - - return ( - <main> - <h1>Discord Data</h1> - <p>The following data is stored about your Discord account:</p> - <pre> - {JSON.stringify( - { user: session?.user, account: discordAccount }, - null, - 2, - )} - </pre> - </main> - ); -} |
