Created
June 27, 2019 02:12
-
-
Save anchetaWern/741f2b7bbe80ac815f67834238aef9d8 to your computer and use it in GitHub Desktop.
React Native Stream Chat Profanity Filtering: Unban user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get('/unban', async (req, res) => { | |
const user_id = req.query.user_id; | |
const unban_data = await server_side_client.unbanUser(user_id); | |
console.log('unban: ', unban_data); | |
res.send('ok'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment