From 2bd196c6165cbf45544dbc0a021daf5d313fde3c Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Tue, 13 Oct 2020 13:13:45 -0700 Subject: [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 --- src/constants/api.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/constants') 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/'; -- cgit v1.2.3-70-g09d2