diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-11 08:14:43 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-11 08:14:43 -0800 |
commit | 8918be8b82167f83762b4783bd877b6087a568fc (patch) | |
tree | 9cb9c0454aff38c0990b8651ba0281f743c8b3e8 /src/constants/api.ts | |
parent | 25266852ed1f7e7492afd5a4eeb146940a3a2f33 (diff) |
Added new endpoint
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 127ef432..dd3d6e15 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -33,12 +33,13 @@ export const DISCOVER_ENDPOINT: string = API_URL + 'discover/'; export const SEARCH_BUTTONS_ENDPOPINT: string = DISCOVER_ENDPOINT + 'search_buttons/'; 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/'; -export const SP_UPDATE_PICTURE_ENDPOINT: string = API_URL + 'suggested_people/update_picture/'; +export const SP_UPDATE_PICTURE_ENDPOINT: string = SP_USERS_ENDPOINT + 'update_picture/'; export const SP_MUTUAL_BADGE_HOLDERS_ENDPOINT: string = SP_USERS_ENDPOINT + 'get_mutual_badge_holders/'; +export const ADD_USER_BADGES: string = SP_USERS_ENDPOINT + 'add_badges/'; +export const UPDATE_USER_BADGES: string = SP_USERS_ENDPOINT + 'update_badges/'; // Register as FCM device export const FCM_ENDPOINT: string = API_URL + 'fcm/'; |