bug fix on verify
diff --git a/pages/nucleus/verify/index.js b/pages/nucleus/verify/index.js
index 44da4b4..5057b2a 100644
--- a/pages/nucleus/verify/index.js
+++ b/pages/nucleus/verify/index.js
@@ -71,23 +71,6 @@
</List>
<div id="confetti" />
</Panel>
- <Panel halfSize={false} id="invite">
- <Title>Invite</Title>
- <Divider />
- <CardRow>
- <Card
- wave="nucleus"
- icon="bots/nucleus/circle"
- buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]}
- title="Nucleus"
- subtext="Invite Nucleus to your server"
- buttons={[
- {color: "424242", link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands", text: "Invite"}
- ]}
- url="https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands"
- />
- </CardRow>
- </Panel>
</AutoLayout>
</>
}
@@ -105,7 +88,7 @@
let code;
try {
await Axios.patch(`http://localhost:10000/verify/${ctx.query.code}`);
- code = await Axios.get(`http://localhost:10000/verify/${ctx.query.code}`, {code:ctx.query.code});
+ code = await Axios.get(`http://localhost:10000/verify/${ctx.query.code}`, {code: ctx.query.code});
} catch (e) {
return {
redirect: {
diff --git a/pages/nucleus/verify/success.js b/pages/nucleus/verify/success.js
index de5b4d8..e5def5d 100644
--- a/pages/nucleus/verify/success.js
+++ b/pages/nucleus/verify/success.js
@@ -13,7 +13,14 @@
subtext="You can now close this tab or window."
gradient={["65CC76", "60B258"]}
wave="web/waves/header/rsm"
- buttons={[]}
+ buttons={[
+ {
+ text: "Add Nucleus to your server",
+ buttonText: "ffffff",
+ link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands",
+ color: "65CC76",
+ }
+ ]}
fullscreen={true}
/>
)