diff options
author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-10-24 16:12:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 19:12:39 -0400 |
commit | 84d283b44f2b6cecb757edcd94e717a36c3ba3c3 (patch) | |
tree | 532a6c415c57b90bb90243b2d99845bb3e93d058 /src/constants/api.ts | |
parent | 8b680e97ad4689493d2c398281cc0da8e333aa04 (diff) |
[TMA 301] Add follow/unfollow button to profile (#70)
* Follow Unfollow User
* Fixed an issue and moved api call to Content.tsx
* last
* Small changes
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r-- | src/constants/api.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 181247dd..d9e199d2 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -17,6 +17,9 @@ export const SEARCH_ENDPOINT: string = API_URL + 'search/'; export const MOMENTS_ENDPOINT: string = API_URL + 'moments/'; export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify-code/'; export const COMMENTS_ENDPOINT: string = API_URL + 'comments/'; +export const FOLLOW_USER_ENDPOINT: string = API_URL + 'follow/'; +export const UNFOLLOW_USER_ENDPOINT: string = API_URL + 'unfollow/'; +export const FOLLOWERS_ENDPOINT: string = API_URL + 'followers/'; // Social Link export const LINK_IG_ENDPOINT: string = API_URL + 'link-ig/'; |