Skip to content

Commit

Permalink
Fix sync request
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Kudinov committed Oct 16, 2024
1 parent e70178f commit 5b7658f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion frontend/app/modules/sync-request/highload-tester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export default class HighloadTester {

Bridge?.sendBotEvent({
method: 'menu',
params: {},
params: {
key1: 'value1',
},
sync_request: true,
})
.then(() => {
Expand Down
8 changes: 6 additions & 2 deletions frontend/app/modules/sync-request/sync-request.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export class SyncRequestStore {
try {
await Bridge?.sendBotEvent({
method: 'menu',
params: {},
params: {
key1: 'value1',
},
sync_request: isSync,
})
} catch (e) {
Expand Down Expand Up @@ -77,7 +79,9 @@ export class SyncRequestStore {
try {
const response = (await Bridge?.sendBotEvent({
method: 'menu',
params: {},
params: {
key1: 'value1',
},
sync_request: isSync,
})) as StatusResponse

Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-feature-smartapp",
"version": "2.5.1",
"version": "2.5.3",
"description": "SmartApp with all features",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/smartapp-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"manifestVersion": "1.0.0",
"smartAppVersion": "",
"bundlePath": "",
"changeLog": "Фикс подписки на юзера"
"changeLog": "Тест фикса синхронных событий"
}

0 comments on commit 5b7658f

Please sign in to comment.