Skip to content

Commit ad4fa7a

Browse files
type: typing issue
1 parent 08bfe0f commit ad4fa7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/bots/[id]/edit.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ export const getServerSideProps = async (ctx: Context) => {
619619
const user = await get.Authorization(parsed?.token)
620620
const bot = await get.bot.load(ctx.query.id)
621621
const spec = await get.botSpec(ctx.query.id, user)
622+
const spec = await get.botSpec(ctx.query.id, user || '')
622623
return {
623624
props: {
624625
bot: { ...bot, banner: spec.banner, bg: spec.bg },

0 commit comments

Comments
 (0)