Skip to content

Commit

Permalink
Remove unused extra header
Browse files Browse the repository at this point in the history
This is necessary when we want to ensure we have a message id for the
posted message, but in this case we aren't doing anything with it, so
no need to wait
  • Loading branch information
kb0rg committed Apr 6, 2020
1 parent 612a49b commit 50d3406
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/eth-account.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ module.exports = function(robot) {
}
let content = Buffer.from(keyfileJSON, "binary").toString("base64")
let filename = `${newAccount.address.slice(0, 7)}-keyfile.json`
let extraHeader = { "X-flowdock-wait-for-message": true }
let postParams = {
event: "file",
thread_id: msg.message.metadata.thread_id,
Expand All @@ -162,7 +161,6 @@ module.exports = function(robot) {
robot.adapter.bot.post(
"/messages",
postParams,
extraHeader,
postMessageCallback(robot, msg, newAccount.address, filename),
)
} catch (error) {
Expand Down

0 comments on commit 50d3406

Please sign in to comment.