aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
diff options
context:
space:
mode:
authorJustin Shillingford <jgs272@cornell.edu>2020-08-14 16:39:26 -0400
committerGitHub <noreply@github.com>2020-08-14 16:39:26 -0400
commit59ea758ba64dd4e00f12b5ceb941d0ea5e273210 (patch)
tree6a698457be38c484bb9f93e3caf2f8e32bb7be8d /src/constants/api.ts
parent1979a2b55ebe560b9d20862bd835343516b40379 (diff)
[TMA-19] Social Media Post Container (#31)
* Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Formatted datetime in PostHeader
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r--src/constants/api.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index fd654c53..057b5da7 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -8,3 +8,4 @@ export const VERIFY_OTP_ENDPOINT: string = API_URL + 'verify-otp/';
export const PROFILE_INFO_ENDPOINT: string = API_URL + 'user-profile-info/';
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/';