Commit 0a21f5dfb2968af18d29449011e6802455b93282
1 parent
49ca8506b0
Exists in
master
Router USSD parameter include cusd2
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
lib/http-command-server/router-ussd.js
... | ... | @@ -19,11 +19,12 @@ async function handlerIndex(req, res) { |
19 | 19 | return; |
20 | 20 | } |
21 | 21 | |
22 | - const reply = await modem.executeUSSD(req.query.code); | |
22 | + const reply = await modem.executeUSSD(req.query.code, req.query.include_cusd2); | |
23 | 23 | res.json({ |
24 | 24 | status: 'OK', |
25 | 25 | error: false, |
26 | 26 | code: req.query.code, |
27 | + include_cusd2: req.query.include_cusd2, | |
27 | 28 | result: reply, |
28 | 29 | message: 'USSD executed', |
29 | 30 | }); |