diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-12 18:22:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 18:22:52 -0500 |
commit | 813e9982bed74a9ccbc3b50b7e553ed1b456c93c (patch) | |
tree | 5a8d13256be83dd955d2a66a9dc9eebd26ee25c5 /src/constants/api.ts | |
parent | 8bb3a254e8971428274568acdc969e4df0777409 (diff) | |
parent | 82f0448edfee2d1803098085f6710ac1eb7dcb91 (diff) |
Merge pull request #292 from IvanIFChen/tma694-edit-badges
[TMA-694] Edit Badges
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..34ef9a1c 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_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'add_badges/'; +export const UPDATE_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'update_badges/'; // Register as FCM device export const FCM_ENDPOINT: string = API_URL + 'fcm/'; |