Skip to content

Commit 976c28a

Browse files
Merge pull request #274 from SwissBitcoinPay/add-app-version
Add app version in invoice data
2 parents 0cb2b39 + 9753baa commit 976c28a

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
APP_VERSION=2.5.8
1+
APP_VERSION=2.5.9
22

3-
APP_BUILD_NUMBER=436
3+
APP_BUILD_NUMBER=437
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Minor improvements and optimizations
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Améliorations et optimisations mineures

src/hooks/usePostInvoice.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ export const usePostInvoice = () => {
6666
tag: "invoice-tpos",
6767
device: {
6868
name: deviceName,
69-
type: deviceType
69+
type: deviceType,
70+
appVersion: process.env.APP_VERSION
7071
},
7172
extra: {
7273
isGuestMode

0 commit comments

Comments
 (0)