Skip to content

Instantly share code, notes, and snippets.

@anchetaWern
Created June 27, 2019 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anchetaWern/741f2b7bbe80ac815f67834238aef9d8 to your computer and use it in GitHub Desktop.
Save anchetaWern/741f2b7bbe80ac815f67834238aef9d8 to your computer and use it in GitHub Desktop.
React Native Stream Chat Profanity Filtering: Unban user
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