Skip to content

Commit

Permalink
Update promote.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoder authored Jul 7, 2023
1 parent 1d047a9 commit a757bd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/interactions/som/promote.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import fetch from 'isomorphic-unfetch'

const approveUser = async user =>
new Promise((resolve, reject) => {
console.log("DISABLED-TEMP")
/*
const form = new FormData()
form.append('user', user)
form.append('token', process.env.SLACK_INVITE_TOKEN)
Expand All @@ -18,7 +20,7 @@ const approveUser = async user =>
console.log(res)
resolve(res)
})
.catch(err => reject(err))
.catch(err => reject(err))*/
})

const clippyApprove = async ({ promoterId, promotedId }) => {
Expand Down

0 comments on commit a757bd0

Please sign in to comment.