aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-05-17 16:51:48 -0700
committerBrian Kim <brian@tagg.id>2021-05-17 16:51:48 -0700
commit4aca9fc0916240ce5e4284d625f240998db17bff (patch)
tree0a3c75d12487c4298bce1fb9ddb8d8c8ebf4d4e6 /src/constants/api.ts
parent6a74b270d24f04e36821398b83863d5b97e1b44b (diff)
parent183ce2b263e7282f42d204ebd59676b8e28352ec (diff)
Merge with master
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r--src/constants/api.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index 9d3f70c9..3c7e669e 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -51,7 +51,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 =
@@ -61,7 +62,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/';