diff options
author | George Rusu <george@tagg.id> | 2021-05-12 18:10:08 -0700 |
---|---|---|
committer | George Rusu <george@tagg.id> | 2021-05-12 18:10:08 -0700 |
commit | 3cfad768bc7d2369ff49d1b57771ac317dbae71e (patch) | |
tree | e71a7016c287ad53ec3857dcd519e76ef4b36aaf /src/constants/api.ts | |
parent | 4569240e09ff134d49fa11180c0074329a3ac95b (diff) |
added functionality for individual sms for invites and updated api and strings to match
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 e5ce9e77..41c54d6f 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -49,7 +49,8 @@ export const USERS_FROM_CONTACTS_ENDPOINT: string = API_URL + 'user_contacts/find_friends/'; export const INVITE_FRIEND_ENDPOINT: string = API_URL + 'user_contacts/invite_friend/'; - +export const CREATE_INVITE_CODE = API_URL + 'create-code/'; +export const GET_REMAINING_INVITES = API_URL + 'user_contacts/check_invite_count/' // Suggested People export const SP_USERS_ENDPOINT: string = API_URL + 'suggested_people/'; export const SP_UPDATE_PICTURE_ENDPOINT: string = @@ -59,7 +60,7 @@ export const SP_MUTUAL_BADGE_HOLDERS_ENDPOINT: string = export const ADD_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'add_badges/'; export const UPDATE_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'update_badges/'; - export const REMOVE_BADGES_ENDPOINT: string = +export const REMOVE_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'remove_badges/'; export const GET_USER_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'get_badges/'; |