Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Remove redundant assignment
Jakub Novak6d8a40cc9bf9
diff --git a/apps/dashboard/pages/settings.tsx b/apps/dashboard/pages/settings.tsxindex e956a9f8b..0533bbcf3 100644--- a/apps/dashboard/pages/settings.tsx+++ b/apps/dashboard/pages/settings.tsx@@ -40,9 +40,7 @@ export const getServerSideProps: GetServerSideProps<Props> = async (ctx) => {})- if (apiKey) {- apiKeyValue = apiKey.api_key- } else {+ if (!apiKey) {const user = await prisma.auth_users.findUniqueOrThrow({where: {id: session.user.id,