aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-27 18:33:49 -0500
committerIvan Chen <ivan@tagg.id>2021-01-27 18:33:49 -0500
commit00ddb6fdec43635261ffa950731d9dd1ce70a815 (patch)
treefbbf429e72398d29c3e2fe0451d2b18aa92a07ec
parent821f7b6e5b22405484c3545c6f17600d1f79feaa (diff)
small backend change
-rw-r--r--src/screens/profile/IndividualMoment.tsx2
-rw-r--r--src/types/types.ts2
2 files changed, 2 insertions, 2 deletions
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<IndividualMomentProps> = ({
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;
}