File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ export async function createBBIssueWorkflow(project: string) {
211
211
console . log ( "--------- createdRollout ----------" , rolloutData ) ;
212
212
return {
213
213
success : true ,
214
+ database : project
214
215
} ;
215
216
} catch ( error ) {
216
217
console . error ( "Error in createIssueWorkflow:" , error ) ;
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ interface Project {
18
18
interface UserData {
19
19
credentials : Credentials ;
20
20
project : Project ;
21
+ database : string ;
21
22
}
22
23
23
24
export default function Home ( ) {
@@ -34,7 +35,8 @@ export default function Home() {
34
35
const data = await response . json ( ) ;
35
36
setUserData ( {
36
37
credentials : data . credentials ,
37
- project : data . project
38
+ project : data . project ,
39
+ database : data . database . database
38
40
} ) ;
39
41
} else {
40
42
throw new Error ( 'Failed to create user' ) ;
@@ -71,7 +73,7 @@ export default function Home() {
71
73
< p > < strong > Password:</ strong > { userData . credentials . password } </ p >
72
74
< p > < strong > Project Title:</ strong > { userData . project . title } </ p >
73
75
< p > < strong > Project Key:</ strong > { userData . project . key } </ p >
74
- < p > < strong > Database:</ strong > { userData . project . key } </ p >
76
+ < p > < strong > Database:</ strong > { userData . database } </ p >
75
77
</ div >
76
78
< p className = "mt-4 mb-4 text-sm text-gray-600" > Please save these credentials and project details for future use.</ p >
77
79
< div className = "w-full h-screen border border-gray-300 rounded-lg overflow-hidden" >
You can’t perform that action at this time.
0 commit comments