Skip to content

Commit cc1856d

Browse files
authored
Merge pull request #2796 from appwrite/fix-dat-1067
2 parents a2491f5 + 8f31160 commit cc1856d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/routes/(console)/project-[region]-[project]/overview/onboard.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
7070
function openPlatformWizard(type: number, platform?: Models.Platform) {
7171
if (platform) {
72-
continuePlatform(type, platform.name, platform.type);
72+
continuePlatform(type, platform.name, platform.key, platform.type);
7373
} else {
7474
trackEvent(Click.PlatformCreateClick, { source: 'onboarding' });
7575
addPlatform(type);

src/routes/(console)/project-[region]-[project]/overview/platforms/+page.svelte

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,15 @@
2727
});
2828
}
2929
30-
export async function continuePlatform(platform: Platform, name: string, type: PlatformType) {
30+
export async function continuePlatform(
31+
platform: Platform,
32+
name: string,
33+
key: string,
34+
type: PlatformType
35+
) {
3136
createPlatform.set({
3237
name: name,
38+
key: key,
3339
type: type
3440
});
3541
@@ -39,8 +45,9 @@
3945
});
4046
4147
wizard.start(platforms[platform], null, 1, {
42-
isConnectPlatform: true,
43-
platform: type
48+
isPlatformCreated: true,
49+
platform: type,
50+
key: key
4451
});
4552
}
4653

0 commit comments

Comments
 (0)