Skip to content

Commit

Permalink
fix: data.status
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Dec 12, 2023
1 parent 5e37b00 commit d87fd2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@
delete data.status
socket.send(JSON.stringify(data));
data.status = "sent"
} else if (!data.status) {
data.status = 'queued'
} else if (data.status !== "queued" && data.status !== 'await') {
resolve(data)
}
Expand Down

0 comments on commit d87fd2e

Please sign in to comment.