diff options
author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-10-13 13:13:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 16:13:45 -0400 |
commit | 2bd196c6165cbf45544dbc0a021daf5d313fde3c (patch) | |
tree | 3e1b138f7d3467384391522edf1b237cec82a893 /src/constants/api.ts | |
parent | 854a7d8f8526e8142c416ec41682468e87bcbbd2 (diff) |
[TMA-238] (Small change) Do not skip invitation code verification (#54)
* Do not skip invitation code verification
* Check code length before calling the backend API
* Nitpick
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r-- | src/constants/api.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 86b941d0..fa8cd0b3 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -12,6 +12,4 @@ export const COVER_PHOTO_ENDPOINT: string = API_URL + 'large-profile-pic/'; export const AVATAR_PHOTO_ENDPOINT: string = API_URL + 'small-profile-pic/'; export const GET_IG_POSTS_ENDPOINT: string = API_URL + 'posts-ig/'; export const SEARCH_ENDPOINT: string = API_URL + 'search/'; - -//TODO add an endpoint to verify the invitation code, such as below -//export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify_invitation_code/'; +export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify-code/'; |