Skip to content

Commit

Permalink
Remove unsupported message statuses from nodejs
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas committed Jul 14, 2022
1 parent 70c371d commit f6d055d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agents/node/vcxagent-core/src/utils/messages.js
Expand Up @@ -28,10 +28,10 @@ async function parseDownloadMessagesResult (msgs) {

module.exports.getMessagesForConnection = async function getMessagesForConnection (
connection,
filterStatuses = ['MS-102', 'MS-103', 'MS-104', 'MS-105', 'MS-106'],
filterStatuses = ['MS-103', 'MS-106'],
filterUids = []
) {
filterStatuses = filterStatuses || ['MS-102', 'MS-103', 'MS-104', 'MS-105', 'MS-106'] // explicit null or undefined interpreted as "no filter"
filterStatuses = filterStatuses || ['MS-103', 'MS-106'] // explicit null or undefined interpreted as "no filter"
const downloadInstructions = {
status: await maybeJoinWithComma(filterStatuses),
uids: await maybeJoinWithComma(filterUids)
Expand Down

0 comments on commit f6d055d

Please sign in to comment.