Skip to content

Commit

Permalink
Merge pull request #283 from Telegram-Mini-Apps/bugfix/invalid-serial…
Browse files Browse the repository at this point in the history
…ize-lp

Fix invalid launch params serialization
  • Loading branch information
heyqbnk authored Apr 11, 2024
2 parents 46442b9 + 26493b8 commit 911c403
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tall-timers-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tma.js/sdk": patch
---

Fix invalid launch params serialization
2 changes: 1 addition & 1 deletion packages/sdk/src/launch-params/serializeLaunchParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function serializeLaunchParams(value: LaunchParams): string {
params.set('tgWebAppVersion', version);

if (startParam) {
params.set('tgWebAppStartParam', version);
params.set('tgWebAppStartParam', startParam);
}

if (typeof showSettings === 'boolean') {
Expand Down

0 comments on commit 911c403

Please sign in to comment.