We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad4fa7a commit f189e14Copy full SHA for f189e14
pages/bots/[id]/edit.tsx
@@ -618,7 +618,6 @@ export const getServerSideProps = async (ctx: Context) => {
618
const parsed = parseCookie(ctx.req)
619
const user = await get.Authorization(parsed?.token)
620
const bot = await get.bot.load(ctx.query.id)
621
- const spec = await get.botSpec(ctx.query.id, user)
622
const spec = await get.botSpec(ctx.query.id, user || '')
623
return {
624
props: {
0 commit comments