From 00ddb6fdec43635261ffa950731d9dd1ce70a815 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Wed, 27 Jan 2021 18:33:49 -0500 Subject: small backend change --- src/screens/profile/IndividualMoment.tsx | 2 +- src/types/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx index 6b82b31c..ea0c8fb6 100644 --- a/src/screens/profile/IndividualMoment.tsx +++ b/src/screens/profile/IndividualMoment.tsx @@ -70,7 +70,7 @@ const IndividualMoment: React.FC = ({ style={styles.postContent} momentId={item.moment_id} caption={item.caption} - pathHash={item.path_hash} + pathHash={item.moment_url} dateTime={item.date_created} screenType={screenType} /> diff --git a/src/types/types.ts b/src/types/types.ts index 1a4595f6..1d800423 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -84,7 +84,7 @@ export interface MomentType { caption: string; date_created: string; moment_category: string; - path_hash: string; + moment_url: string; thumbnail_url: string; } -- cgit v1.2.3-70-g09d2