Skip to content

Commit

Permalink
fix: flutter only persisting once
Browse files Browse the repository at this point in the history
  • Loading branch information
TGlide committed Feb 14, 2023
1 parent ae54e3c commit 6b1c63a
Showing 1 changed file with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,23 @@
$createPlatform.store,
$createPlatform.hostname
);
} else {
const response = await sdkForConsole.projects.createPlatform(
projectId,
platform,
$createPlatform.name,
platform !== Platform.Web ? $createPlatform.key : undefined,
undefined,
platform === Platform.Web ? $createPlatform.hostname : undefined
);
return;
}
const response = await sdkForConsole.projects.createPlatform(
projectId,
platform,
$createPlatform.name,
platform !== Platform.Web ? $createPlatform.key : undefined,
undefined,
platform === Platform.Web ? $createPlatform.hostname : undefined
);
trackEvent('submit_platform_create', {
type: platform
});
trackEvent('submit_platform_create', {
type: platform
});
$createPlatform.$id = response.$id;
}
$createPlatform.$id = response.$id;
$createPlatform.type = platform;
}
</script>
Expand Down

0 comments on commit 6b1c63a

Please sign in to comment.