diff options
author | Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> | 2021-03-05 20:33:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 20:33:51 -0800 |
commit | 27925a267e9d279e29a1a1852891e392fdc4b3af (patch) | |
tree | f77ab55bf3f5cbd6190177058353ef01ad767711 /src/constants/api.ts | |
parent | 8e4d9135f0645b56665ad23d6de5dd0afa1ef444 (diff) | |
parent | 59bc015a22a0c50d6c64ecf7501c269dae59bfbd (diff) |
Merge branch 'master' into badges-people-screen
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r-- | src/constants/api.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 9eaf60ee..ab1ace74 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -4,7 +4,7 @@ const BASE_URL: string = 'http://127.0.0.1:8000/'; // local server const API_URL: string = BASE_URL + 'api/'; export const LOGIN_ENDPOINT: string = API_URL + 'login/'; -export const VERSION_ENDPOINT: string = API_URL + 'version/'; +export const VERSION_ENDPOINT: string = API_URL + 'version/v2/'; export const REGISTER_ENDPOINT: string = API_URL + 'register/'; export const EDIT_PROFILE_ENDPOINT: string = API_URL + 'edit-profile/'; export const SEND_OTP_ENDPOINT: string = API_URL + 'send-otp/'; @@ -17,7 +17,7 @@ export const PROFILE_PHOTO_THUMBNAIL_ENDPOINT: string = export const GET_IG_POSTS_ENDPOINT: string = API_URL + 'posts-ig/'; export const GET_FB_POSTS_ENDPOINT: string = API_URL + 'posts-fb/'; export const GET_TWITTER_POSTS_ENDPOINT: string = API_URL + 'posts-twitter/'; -export const SEARCH_ENDPOINT: string = API_URL + 'search/'; +export const SEARCH_ENDPOINT: string = API_URL + 'search/v2/'; export const MOMENTS_ENDPOINT: string = API_URL + 'moments/'; export const MOMENT_THUMBNAIL_ENDPOINT: string = API_URL + 'moment-thumbnail/'; export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify-code/'; @@ -32,6 +32,7 @@ export const NOTIFICATIONS_ENDPOINT: string = API_URL + 'notifications/'; export const DISCOVER_ENDPOINT: string = API_URL + 'discover/'; export const WAITLIST_USER_ENDPOINT: string = API_URL + 'waitlist-user/'; export const COMMENT_THREAD_ENDPOINT: string = API_URL + 'reply/'; +export const ADD_USER_BADGES: string = API_URL + 'suggested_people/add_badges/'; // Suggested People export const SP_USERS_ENDPOINT: string = API_URL + 'suggested_people/'; |