Commit fcc793e8c34dddd9f9eb5aad3b504617d69ca8c2
1 parent
f12f9ab1df
Exists in
master
update callback handler
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
lib/http-server/routers/updates/index.js
... | ... | @@ -36,8 +36,10 @@ const pageUpdate = async (req, res) => { |
36 | 36 | let rc = '68'; |
37 | 37 | if (data.status === 'S') { |
38 | 38 | rc = '00'; |
39 | - } else if (data.status === 'F' || data.status === 'R') { | |
39 | + } else if (data.status === 'F') { | |
40 | 40 | rc = '40'; |
41 | + } else if (data.status === 'R') { | |
42 | + rc = '47'; | |
41 | 43 | } |
42 | 44 | const params = { |
43 | 45 | id: trxId, |