-
-
Save astrotars/a1d2ac8f3cdb832592701fa10abb35fc to your computer and use it in GitHub Desktop.
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
const currentUser = await client.setUser( | |
{ | |
id: 'john', | |
name: 'John Doe', | |
image: 'https://getstream.io/random_svg/?name=John', | |
}, | |
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiamxhaGV5In0.OkDbpbujWJ-XIVHaf00Dnqt3v8Yp_nQ6CGzm-Z4QUVc', // authentication token | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment