mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-13 17:22:37 +02:00
autocreate api key in new project
This commit is contained in:
parent
3fe8677d21
commit
8a6fd290c1
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,9 @@ export async function createProject(formData: FormData) {
|
|||
lastUpdatedAt: (new Date()).toISOString(),
|
||||
});
|
||||
|
||||
// add first api key
|
||||
await createApiKey(projectId);
|
||||
|
||||
redirect(`/projects/${projectId}/workflow`);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue