diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-04-09 14:40:21 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-04-09 14:40:21 -0700 |
commit | 444dc434b63c7a24d3447e23eb9b4a9b469566a7 (patch) | |
tree | 115ec5404492b3437d600b8f4047da1cadbcd6a8 /src/constants/api.ts | |
parent | 3d26676ea1e818b585b4b224f643524994a0e893 (diff) |
endpoint and error message
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r-- | src/constants/api.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index ffe47687..15ca6abc 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -55,6 +55,10 @@ export const UPDATE_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'update_badges // Register as FCM device export const FCM_ENDPOINT: string = API_URL + 'fcm/'; +// Retrieve Stream Chat token +export const CHAT_ENDPOINT: string = API_URL + 'chat/'; +export const CHAT_TOKEN_ENDPOINT: string = CHAT_ENDPOINT + 'get_token/'; + // Register Social Link (Non-integrated) export const LINK_SNAPCHAT_ENDPOINT: string = API_URL + 'link-sc/'; export const LINK_TIKTOK_ENDPOINT: string = API_URL + 'link-tt/'; |