Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add manual id to project create

Tomas Valenta8dafa188f266
diff --git a/pages/index.tsx b/pages/index.tsx
index d1c2bc21f..f57b499e9 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -237,6 +237,7 @@ export const getServerSideProps: GetServerSideProps<Props> = async (ctx) => {
is_default: true,
projects: {
create: {
+ id: nanoid(),
name: 'Default Project',
is_default: true,
},