aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-05 16:38:32 -0500
committerIvan Chen <ivan@tagg.id>2021-03-05 16:38:32 -0500
commit1465df9621fb963ff873485ad927ff79ea547fa0 (patch)
treeaffcb43f37f263f3e0e555dd019dd952b62e1f0a /src/constants/api.ts
parent2360e774d94e271d1d9db0d5b92b801b9325535e (diff)
parentb1dee65ee7bb8e120fc38a495f4027905d300650 (diff)
Merge branch 'master' into tma-634-badge-selection-screen
# Conflicts: # src/components/taggs/SocialMediaInfo.tsx
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r--src/constants/api.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index dcc2032d..0fc846c3 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -4,7 +4,7 @@ const BASE_URL: string = 'http://127.0.0.1:8000/'; // local server
const API_URL: string = BASE_URL + 'api/';
export const LOGIN_ENDPOINT: string = API_URL + 'login/';
-export const VERSION_ENDPOINT: string = API_URL + 'version/';
+export const VERSION_ENDPOINT: string = API_URL + 'version/v2/';
export const REGISTER_ENDPOINT: string = API_URL + 'register/';
export const EDIT_PROFILE_ENDPOINT: string = API_URL + 'edit-profile/';
export const SEND_OTP_ENDPOINT: string = API_URL + 'send-otp/';
@@ -17,7 +17,7 @@ export const PROFILE_PHOTO_THUMBNAIL_ENDPOINT: string =
export const GET_IG_POSTS_ENDPOINT: string = API_URL + 'posts-ig/';
export const GET_FB_POSTS_ENDPOINT: string = API_URL + 'posts-fb/';
export const GET_TWITTER_POSTS_ENDPOINT: string = API_URL + 'posts-twitter/';
-export const SEARCH_ENDPOINT: string = API_URL + 'search/';
+export const SEARCH_ENDPOINT: string = API_URL + 'search/v2/';
export const MOMENTS_ENDPOINT: string = API_URL + 'moments/';
export const MOMENT_THUMBNAIL_ENDPOINT: string = API_URL + 'moment-thumbnail/';
export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify-code/';